< prev index next >
test/java/nio/file/etc/MacVolumesTest.java
Print this page
*** 108,118 ****
}
}
private static final void checkDataVolume() throws IOException {
System.out.format("--- Checking data volume %s ---%n", DATA_VOLUME);
! Path data = Paths.get(DATA_VOLUME, "tmp");
if (Files.getFileStore(data).isReadOnly()) {
throw new RuntimeException("Data volume is read-only");
}
Path tempDir = Files.createTempDirectory(data, "tempDir");
--- 108,118 ----
}
}
private static final void checkDataVolume() throws IOException {
System.out.format("--- Checking data volume %s ---%n", DATA_VOLUME);
! Path data = Paths.get(DATA_VOLUME, "private", "tmp");
if (Files.getFileStore(data).isReadOnly()) {
throw new RuntimeException("Data volume is read-only");
}
Path tempDir = Files.createTempDirectory(data, "tempDir");
< prev index next >