[14-testbug] 8225471: Test utility jdk.test.lib.util.FileUtils.areAllMountPointsAccessible needs to tolerate duplicates
Alan.Bateman at oracle.com
Thu Jan 23 13:03:03 UTC 2020
On 23/01/2020 00:20, Brian Burkhalter wrote:
> To at least provisionally fix  so as not to fail java/nio/file/FileStore/Basic.java on misconfigured systems, the patch  is proposed. This affects non-Windows systems only. As in the previous version, the FileStore enumeration test is skipped if the “df” command hangs a spawned process which is indicative of a network problem. In this version the FileStore enumeration test will also be skipped if any two lines of the “df” output are equal. In the previous version a RuntimeException would be thrown if two consecutive lines of the “df" output were equal and so the test would fail. This patch would remove that failure mode. Issue  is on file to perform further investigation of better handling of duplicate mount points at a later time.
This looks okay to me.
More information about the nio-dev