[14-testbug] 8225471: Test utility jdk.test.lib.util.FileUtils.areAllMountPointsAccessible needs to tolerate duplicates
brian.burkhalter at oracle.com
Thu Jan 23 00:20:24 UTC 2020
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.
More information about the nio-dev