On Sat, 15 Jun 2024 09:07:04 GMT, SendaoYan <s...@openjdk.org> wrote:
> Hi all, > Test > `test/langtools/jdk/javadoc/doclet/testIOException/TestIOException.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. > > The change verified on: > > - [x] linux > - [x] windows This pull request has now been integrated. Changeset: 472b935b Author: SendaoYan <s...@openjdk.org> Committer: Pavel Rappo <pra...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/472b935b442f7f925b665c7de91eda77f3dcbe8b Stats: 43 lines in 1 file changed: 2 ins; 24 del; 17 mod 8334332: TestIOException.java fails if run by root Reviewed-by: prappo ------------- PR: https://git.openjdk.org/jdk/pull/19731