This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push: new 4c7a0d1 [IO-751] Add disabled failing test. 4c7a0d1 is described below commit 4c7a0d16f336fb76e83c85a726fc80a5a8b1db2b Author: Gary Gregory <gardgreg...@gmail.com> AuthorDate: Sat Oct 30 13:05:43 2021 -0400 [IO-751] Add disabled failing test. --- src/test/java/org/apache/commons/io/DeleteDirectoryTest.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/apache/commons/io/DeleteDirectoryTest.java b/src/test/java/org/apache/commons/io/DeleteDirectoryTest.java index ff02d0c..bb339ab 100644 --- a/src/test/java/org/apache/commons/io/DeleteDirectoryTest.java +++ b/src/test/java/org/apache/commons/io/DeleteDirectoryTest.java @@ -40,19 +40,22 @@ import org.junit.jupiter.api.io.TempDir; /** * Tests <a href="https://issues.apache.org/jira/browse/IO-751">IO-751</a>. + * <p> + * Must be run on macOS or Linux, not Windows. + * </p> */ @Disabled public class DeleteDirectoryTest { - @TempDir - public File tempDir; - @BeforeAll public static void beforeAll() throws IOException { // This test requires a POSIX file system, so not stock Windows 10. Assumptions.assumeTrue(PathUtils.isPosix(PathUtils.current())); } + @TempDir + public File tempDir; + private void testDeleteDirectory(final IOConsumer<Path> deleter) throws IOException { final Path tempDirPath = tempDir.toPath();