8232178: MacVolumesTest failed after upgrade to MacOS Catalina
Reviewed-by: lancea
--- 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");
}