jgit/org.eclipse.jgit.junit.ssh
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 Enable and fix "Statement unnecessarily nested within else clause" warnings 2019-10-17 10:20:14 +09:00
META-INF Remove dependency on JSch from SSH test framework 2020-07-26 20:44:03 +02:00
resources/org/eclipse/jgit/junit/ssh Decouple JSch from JGit Core 2020-06-01 01:46:59 +02:00
src/org/eclipse/jgit/junit/ssh 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
.gitignore Move SshTestGitServer to new bundle org.eclipse.jgit.junit.ssh 2018-11-17 07:28:08 -08:00
.project Move SshTestGitServer to new bundle org.eclipse.jgit.junit.ssh 2018-11-17 07:28:08 -08:00
BUILD Remove dependency on JSch from SSH test framework 2020-07-26 20:44:03 +02:00
build.properties Decouple JSch from JGit Core 2020-06-01 01:46:59 +02:00
plugin.properties Fix bundle localization of Apache SSH bundle 2019-06-21 17:54:06 +02:00
pom.xml Remove dependency on JSch from SSH test framework 2020-07-26 20:44:03 +02:00