RFR: 8290687: serviceability/sa/TestClassDump.java could leave files owned by root on macOS
Chris Plummer
cjplummer at openjdk.org
Wed Jul 20 22:29:43 UTC 2022
Unless this test is run as root, it needs sudo privileges. If it gets them, the test runs fine, but leaves around files with root ownership so jtreg cannot delete them, and you see errors when "make clean" tries to delete them. It's best that we just don't run the test on OSX if sudo privileges.
-------------
Commit messages:
- Disable test on OSX if adding privilleges is required.
Changes: https://git.openjdk.org/jdk/pull/9579/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9579&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8290687
Stats: 6 lines in 1 file changed: 5 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/9579.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/9579/head:pull/9579
PR: https://git.openjdk.org/jdk/pull/9579
More information about the serviceability-dev
mailing list