changeset 56865:19744a63c295

8232178: MacVolumesTest failed after upgrade to MacOS Catalina Reviewed-by: lancea
author bpb
date Thu, 07 Nov 2019 13:53:38 -0800
parents 2b0f2fe82735
children 4e3694a617d4
files test/jdk/java/nio/file/etc/MacVolumesTest.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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");
         }