From fc2a8abcc031eb5801275780eac086cc48277196 Mon Sep 17 00:00:00 2001 From: Brian Burkhalter Date: Thu, 7 Nov 2019 13:53:38 -0800 Subject: [PATCH] 8232178: MacVolumesTest failed after upgrade to MacOS Catalina Reviewed-by: lancea --- test/jdk/java/nio/file/etc/MacVolumesTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/jdk/java/nio/file/etc/MacVolumesTest.java b/test/jdk/java/nio/file/etc/MacVolumesTest.java index 5e67fcb65c3..ebf96094902 100644 --- a/test/jdk/java/nio/file/etc/MacVolumesTest.java +++ b/test/jdk/java/nio/file/etc/MacVolumesTest.java @@ -109,7 +109,7 @@ public class MacVolumesTest { private static final void checkDataVolume() throws IOException { System.out.format("--- Checking data volume %s ---%n", DATA_VOLUME); - Path data = Path.of(DATA_VOLUME, "tmp"); + Path data = Path.of(DATA_VOLUME, "private", "tmp"); if (Files.getFileStore(data).isReadOnly()) { throw new RuntimeException("Data volume is read-only"); }