mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] The-Yoda commented on a change in pull request #88: Fix download with pattern issue in rooted filesystem
Date Mon, 11 Feb 2019 11:59:47 GMT
The-Yoda commented on a change in pull request #88: Fix download with pattern issue in rooted
filesystem
URL: https://github.com/apache/mina-sshd/pull/88#discussion_r255477233
 
 

 ##########
 File path: sshd-scp/src/test/java/org/apache/sshd/client/scp/ScpTest.java
 ##########
 @@ -589,6 +589,53 @@ public void testScpNativeOnDirWithPattern() throws Exception {
         }
     }
 
+    @Test
+    public void testScpVirtualOnDirWithPattern() throws Exception {
+        Path remoteDir = Files.createTempDirectory("remote");
+        sshd.setFileSystemFactory(new VirtualFileSystemFactory(remoteDir));
 
 Review comment:
   This is being taken care in `Before` block.
   ``` 
      @Before
       public void setUp() throws Exception {
           sshd.setFileSystemFactory(fileSystemFactory);
       }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message