8232178: MacVolumesTest failed after upgrade to MacOS Catalina
authorbpb
Thu, 07 Nov 2019 13:53:38 -0800
changeset 58975 19744a63c295
parent 58974 2b0f2fe82735
child 58976 4e3694a617d4
8232178: MacVolumesTest failed after upgrade to MacOS Catalina Reviewed-by: lancea
test/jdk/java/nio/file/etc/MacVolumesTest.java
--- a/test/jdk/java/nio/file/etc/MacVolumesTest.java	Thu Nov 07 13:39:31 2019 -0800
+++ b/test/jdk/java/nio/file/etc/MacVolumesTest.java	Thu Nov 07 13:53:38 2019 -0800
@@ -109,7 +109,7 @@
 
     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");
         }