jgit/org.eclipse.jgit.ssh.jsch
Thomas Wolf 24fdc1d039 Fix JSchProcess.waitFor() with time-out
SshSupport.runSshCommand() had a comment that wait with time-out
could not be used because JSchProcess.exitValue() threw the wrong
unchecked exception when the process was still running.

Fix this and make JSchProcess.exitValue() throw the right exception,
then wait with a time-out in SshSupport.

The Apache sshd client's SshdExecProcess has always used the correct
IllegalThreadStateException.

Add tests for SshSupport.runCommand().

Change-Id: Id30893174ae8be3b9a16119674049337b0cf4381
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
2020-08-10 22:51:34 +02:00
..
.settings Decouple JSch from JGit Core 2020-06-01 01:46:59 +02:00
META-INF Prepare 5.9.0-SNAPSHOT builds 2020-06-09 12:51:12 +02:00
resources Decouple JSch from JGit Core 2020-06-01 01:46:59 +02:00
src/org/eclipse/jgit Fix JSchProcess.waitFor() with time-out 2020-08-10 22:51:34 +02:00
.classpath Decouple JSch from JGit Core 2020-06-01 01:46:59 +02:00
.fbprefs Decouple JSch from JGit Core 2020-06-01 01:46:59 +02:00
.gitignore Decouple JSch from JGit Core 2020-06-01 01:46:59 +02:00
.project Decouple JSch from JGit Core 2020-06-01 01:46:59 +02:00
BUILD Decouple JSch from JGit Core 2020-06-01 01:46:59 +02:00
about.html Decouple JSch from JGit Core 2020-06-01 01:46:59 +02:00
build.properties Decouple JSch from JGit Core 2020-06-01 01:46:59 +02:00
plugin.properties Decouple JSch from JGit Core 2020-06-01 01:46:59 +02:00
pom.xml Prepare 5.9.0-SNAPSHOT builds 2020-06-09 12:51:12 +02:00