You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "peterdemaeyer (via GitHub)" <gi...@apache.org> on 2026/03/24 21:01:39 UTC

Re: [PR] [IO-885] Path visits follow links [commons-io]

peterdemaeyer commented on code in PR #832:
URL: https://github.com/apache/commons-io/pull/832#discussion_r2984245574


##########
src/test/java/org/apache/commons/io/file/PathUtilsCopyTest.java:
##########
@@ -115,14 +124,46 @@ void testCopyDirectoryForDifferentFilesystemsWithRelativePathReverse() throws IO
             final Path sourceDir = Paths.get("src/test/resources/org/apache/commons/io/dirs-2-file-size-2");
             PathUtils.copyDirectory(sourceDir, targetDir);
             assertTrue(Files.exists(targetDir.resolve("dirs-a-file-size-1")));
-
             // relative dir -> absolute jar
             targetDir = archive.getPath("/");
             PathUtils.copyDirectory(sourceDir, targetDir);
             assertTrue(Files.exists(targetDir.resolve("dirs-a-file-size-1")));
         }
     }
 
+    /**
+     * Source tree:
+     * <pre>
+     *
+     * source/
+     *   dir/
+     *     file
+     *     symlink-to-file
+     *   symlink-to-dir
+     * </pre>
+     */
+    @Disabled

Review Comment:
   Why is this test disabled? Can it be enabled? At least it works for me in my IDE...



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org