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 which gets executed before each 
test.
   ``` 
      @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:
[email protected]


With regards,
Apache Git Services

Reply via email to