Other |
---|
tbdResolved |
Duplicate :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
Is there a way we can enable the jhsdb tests like open/test/hotspot/jtreg/serviceability/sa tests on Mac? If I run it right now I get: ----------System.out:(1/47)---------- SA attach not expected to work - test skipped. ----------System.err:(1/15)---------- STATUS:Passed. because the test is skipped, since we don't run them as root, as determined in /test/lib/jdk/test/lib/Platform.java: private static boolean canAttachOSX() { return userName.equals("root"); } It would be useful to have the tests actually running on Mac OS X, for greater coverage (assuming jhsdb is supported on Mac) This applies to running the test via Mach5 and locally using "/jtreg/bin/jtreg ...", though locally one can run it as "sudo /jtreg/bin/jtreg ..." and it will indeed execute, but this should be done by default somehow (if possible).
|