Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Commit

Permalink
found it
Browse files Browse the repository at this point in the history
  • Loading branch information
vwiencek committed Sep 12, 2014
1 parent 5c4bf2f commit 9b1153e
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,11 @@ public void testGenlinkCommandShortNotEncrypted() throws Exception {
String[] cliOutB = TestCliUtil.runAndCaptureOutput(new CommandLineClient(new String[] {
"--localdir", clientLocalDirB.getAbsolutePath(),
"connect",
"--no-daemon",
createdLink
}));

assertEquals("Different number of output lines expected.", 5, cliOutB.length);
assertEquals("Different number of output lines expected.", 3, cliOutB.length);
assertEquals("Repository connected, and local folder initialized.", cliOutB[1]);

TestCliUtil.deleteTestLocalConfigAndData(clientA);
Expand All @@ -78,9 +79,10 @@ public void testGenlinkCommandShortEncrypted() throws Exception {
String[] initArgs = new String[] {
"--localdir", clientA.get("localdir"),
"init",
"--plugin", "local",
"--plugin-option", "path=" + clientA.get("repopath"),
"--no-compression"
"--no-daemon",
"--plugin", "local",
"--plugin-option", "path=" + clientA.get("repopath"),
"--no-compression"
};

new CommandLineClient(initArgs).start();
Expand All @@ -98,6 +100,7 @@ public void testGenlinkCommandShortEncrypted() throws Exception {
String[] cliOutB = TestCliUtil.runAndCaptureOutput(new CommandLineClient(new String[] {
"--localdir", clientLocalDirB.getAbsolutePath(),
"connect",
"--no-daemon",
createdLink
}));

Expand Down

0 comments on commit 9b1153e

Please sign in to comment.