From: Vladimir Petko Date: Wed, 22 Jul 2026 00:23:02 +0000 (+1200) Subject: disable tests requiring FileStore X-Git-Tag: archive/raspbian/25.0.5_7ea-1+rpi1~3^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=eacc876be047374224ae756a50ad17faba00e1af;p=openjdk-25.git disable tests requiring FileStore Bug: https://bugs.openjdk.org/browse/JDK-8166162 Forwarded: not-needed FileStore tests fail in container infrastructure due to JDK-8166162. This patch disables individual test cases requiring FileStore. The patch is not needed upstream as the bug only occurs in specific container configuration. Gbp-Pq: Name test-empty-path.patch --- diff --git a/test/jdk/java/io/File/EmptyPath.java b/test/jdk/java/io/File/EmptyPath.java index 374a69c79..f1a75493a 100644 --- a/test/jdk/java/io/File/EmptyPath.java +++ b/test/jdk/java/io/File/EmptyPath.java @@ -140,7 +140,6 @@ public class EmptyPath { } } - @Test public void getFreeSpace() throws IOException { FileStore fs = Files.getFileStore(f.toPath()); checkSpace(fs.getUnallocatedSpace(), f.getFreeSpace()); @@ -166,13 +165,11 @@ public class EmptyPath { assertEquals(p.toString(), f.getPath()); } - @Test public void getTotalSpace() throws IOException { FileStore fs = Files.getFileStore(f.toPath()); checkSpace(fs.getTotalSpace(), f.getTotalSpace()); } - @Test public void getUsableSpace() throws IOException { FileStore fs = Files.getFileStore(f.toPath()); checkSpace(fs.getUsableSpace(), f.getUsableSpace());