RFR: 8324811: java/nio/file/Files/CopyMoveVariations.java fails run with non-root user
SendaoYan
syan at openjdk.org
Thu Feb 22 13:05:57 UTC 2024
On Wed, 21 Feb 2024 12:36:05 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> > This PR only change the testcase, the testcase change has been verified. Please review this PR.
>
> @bplb Did you ever run into this? I don't run the tests with root access and haven't seen this. The current changes in pull/17235 aren't complete but if that change goes in then the test won't be testing /tmp.
Only the jtreg work directory and the /tmp on the different disk partition can replay this fail.

The first jtreg test, the jtreg work directory is in /dev/vda3, and the tmp is in /dev/loop0, so this test run fail.
The second jtreg test, use -w options make jtreg directoey point to same to /tmp, this test run success.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17606#issuecomment-1959414716
More information about the nio-dev
mailing list