diff options
author | Thomas Wolf <thomas.wolf@paranor.ch> | 2021-07-29 13:10:33 +0200 |
---|---|---|
committer | Thomas Wolf <thomas.wolf@paranor.ch> | 2021-07-29 13:10:56 +0200 |
commit | bae2f86ac790e8d8019094eb65d3a84068d1eeee (patch) | |
tree | 9e4749f827c677fa9830d2f373dc786fb7d471ba /org.eclipse.jgit.junit.http | |
parent | bbb1c7f6451cef69bd98191bfdf4db04da003ecf (diff) | |
parent | 59aec9b15a10609ef0c1a8603ad5dae42d0f3320 (diff) | |
download | jgit-bae2f86ac790e8d8019094eb65d3a84068d1eeee.tar.gz jgit-bae2f86ac790e8d8019094eb65d3a84068d1eeee.zip |
Merge branch 'stable-5.9' into stable-5.10
* stable-5.9:
[test] Create keystore with the keytool of the running JDK
ReachabilityCheckerTestCase: fix reachable from self test case
Change-Id: Ic37426211905d987ddd11480a54d95b86143c94c
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.jgit.junit.http')
-rw-r--r-- | org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AppServer.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AppServer.java b/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AppServer.java index 4e27a3d351..9239690f6b 100644 --- a/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AppServer.java +++ b/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AppServer.java @@ -181,9 +181,12 @@ public class AppServer { tmpDir.deleteOnExit(); makePrivate(tmpDir); File keyStore = new File(tmpDir, "keystore.jks"); + File keytool = new File( + new File(new File(System.getProperty("java.home")), "bin"), + "keytool"); Runtime.getRuntime().exec( new String[] { - "keytool", // + keytool.getAbsolutePath(), // "-keystore", keyStore.getAbsolutePath(), // "-storepass", keyPassword, "-alias", hostName, // |