Unless this test is run as root, it needs sudo privileges. If it gets them, the test runs fine, but leaves a file with root ownership. So jtreg cannot delete it, and you see errors when "make clean" tries to delete it. It's best that we just don't run the test on OSX if sudo privileges.
------------- Commit messages: - JDK-8307347: Skip on macOS in case sudo is needed Changes: https://git.openjdk.org/jdk/pull/13791/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13791&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8307347 Stats: 5 lines in 1 file changed: 5 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/13791.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/13791/head:pull/13791 PR: https://git.openjdk.org/jdk/pull/13791