You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by GitBox <gi...@apache.org> on 2019/02/11 11:59:47 UTC

[GitHub] The-Yoda commented on a change in pull request #88: Fix download with pattern issue in rooted filesystem

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