RFR: 8307347: serviceability/sa/ClhsdbDumpclass.java could leave files owned by root on macOS
Arno Zeller
azeller at openjdk.org
Thu May 4 07:38:12 UTC 2023
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
More information about the serviceability-dev
mailing list