diff --git a/org.eclipse.ice.commands/src/test/java/org/eclipse/ice/tests/commands/CommandFactoryTest.java b/org.eclipse.ice.commands/src/test/java/org/eclipse/ice/tests/commands/CommandFactoryTest.java index 5b3b2ba28..72572b32f 100644 --- a/org.eclipse.ice.commands/src/test/java/org/eclipse/ice/tests/commands/CommandFactoryTest.java +++ b/org.eclipse.ice.commands/src/test/java/org/eclipse/ice/tests/commands/CommandFactoryTest.java @@ -178,8 +178,9 @@ public void testMultiHopRemoteCommand() { ConnectionAuthorizationHandlerFactory authFactory = new ConnectionAuthorizationHandlerFactory(); // Request a ConnectionAuthorization of type text file which contains the // credentials + String keyPath = System.getProperty("user.home") + "/.ssh/denisovankey"; ConnectionAuthorizationHandler auth = authFactory.getConnectionAuthorizationHandler("keypath", - "/home/4jo/.ssh/denisovankey"); + keyPath); auth.setHostname("denisovan"); auth.setUsername("4jo"); // Set it