mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-06 07:10:53 +03:00
Added todo comment
This commit is contained in:
@@ -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());
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user