You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by gn...@apache.org on 2020/05/18 06:08:33 UTC

[mina-sshd] branch master updated: Fix junit test

This is an automated email from the ASF dual-hosted git repository.

gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mina-sshd.git


The following commit(s) were added to refs/heads/master by this push:
     new 3a63a6a  Fix junit test
3a63a6a is described below

commit 3a63a6a4f64631f01b35b2ee6c946e6f269ba098
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Mon May 18 08:08:18 2020 +0200

    Fix junit test
---
 .../java/org/apache/sshd/client/subsystem/sftp/SftpTransferTest.java     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sshd-sftp/src/test/java/org/apache/sshd/client/subsystem/sftp/SftpTransferTest.java b/sshd-sftp/src/test/java/org/apache/sshd/client/subsystem/sftp/SftpTransferTest.java
index 9bba81f..8653ee0 100644
--- a/sshd-sftp/src/test/java/org/apache/sshd/client/subsystem/sftp/SftpTransferTest.java
+++ b/sshd-sftp/src/test/java/org/apache/sshd/client/subsystem/sftp/SftpTransferTest.java
@@ -61,6 +61,7 @@ public class SftpTransferTest extends AbstractSftpClientTestSupport {
             Files.deleteIfExists(remote1);
             Files.deleteIfExists(local2);
 
+            Files.createDirectories(localRoot);
             String data = getClass().getName() + "#" + getCurrentTestName() + "(" + new Date() + ")\n";
             try (BufferedWriter bos = Files.newBufferedWriter(local0)) {
                 long count = 0;