From a2a5923767ce892f79c50bfc268bdaba7d082425 Mon Sep 17 00:00:00 2001 From: Jeroen van Erp Date: Wed, 4 Nov 2015 10:27:39 +0100 Subject: [PATCH] Added todo comment --- .../hierynomus/sshj/connection/channel/direct/CommandTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/java/com/hierynomus/sshj/connection/channel/direct/CommandTest.java b/src/test/java/com/hierynomus/sshj/connection/channel/direct/CommandTest.java index 224a4017..6c2e52a3 100644 --- a/src/test/java/com/hierynomus/sshj/connection/channel/direct/CommandTest.java +++ b/src/test/java/com/hierynomus/sshj/connection/channel/direct/CommandTest.java @@ -26,9 +26,11 @@ public class CommandTest { sshClient.authPassword("jeroen", "jeroen"); File file = new File(temp.getRoot(), "testdir"); assertThat("File should not exist", !file.exists()); + // TODO figure out why this does not really execute in the background. Session.Command exec = sshClient.startSession().exec("mkdir " + file.getPath() + " &"); exec.join(); assertThat("File should exist", file.exists()); assertThat("File should be directory", file.isDirectory()); + } }