Integrated: 8334333: MissingResourceCauseTestRun.java fails if run by root
SendaoYan
syan at openjdk.org
Thu Jun 20 18:07:15 UTC 2024
On Sat, 15 Jun 2024 09:56:53 GMT, SendaoYan <syan at openjdk.org> wrote:
> Hi all,
> Testcase `test/jdk/java/util/ResourceBundle/Control/MissingResourceCauseTestRun.java` run fails with root user privileged. I think it's necessary to skip this testcase when user is root.
> Why run the jtreg test by root user? It's because during rpmbuild process for linux distribution of JDK, root user is the default user to build the openjdk, also is the default user to run the `make test-tier1`, this PR make this testcase more robustness.
> The change has been verified, only change the testcase, no risk.
This pull request has now been integrated.
Changeset: de8ee977
Author: SendaoYan <syan at openjdk.org>
Committer: Naoto Sato <naoto at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/de8ee97718d7e12b541b310cf5b67f3e10e91ad9
Stats: 9 lines in 1 file changed: 6 ins; 0 del; 3 mod
8334333: MissingResourceCauseTestRun.java fails if run by root
Reviewed-by: naoto, jlu
-------------
PR: https://git.openjdk.org/jdk/pull/19732
More information about the core-libs-dev
mailing list