mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-15 21:12:15 +00:00
Argument processing mistake.
This commit is contained in:
1 parent
8302b85024
commit
7da0d39000
2 files changed
+6
-3
No files matched your search
@@ -57,7 +57,7 @@ public class PrivateKeyProviderTest {
|
||||
final File dsaKey = keyFile(".ssh/id_dsa");
|
||||
final File rsaKey = keyFile(".ssh/id_rsa");
|
||||
|
||||
run("-i", dsaKey.getAbsolutePath(), "-i", rsaKey.getAbsolutePath(), "-s", "http://example.com");
|
||||
run("-remoting", "-i", dsaKey.getAbsolutePath(), "-i", rsaKey.getAbsolutePath(), "-s", "http://example.com");
|
||||
|
||||
verify(cli).authenticate(withKeyPairs(
|
||||
keyPair(dsaKey),
|
||||
@@ -73,7 +73,7 @@ public class PrivateKeyProviderTest {
|
||||
final File dsaKey = keyFile(".ssh/id_dsa");
|
||||
|
||||
fakeHome();
|
||||
run("-s", "http://example.com");
|
||||
run("-remoting", "-s", "http://example.com");
|
||||
|
||||
verify(cli).authenticate(withKeyPairs(
|
||||
keyPair(rsaKey),
|
||||
|
||||
Reference in new issue
Block a user