1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-13 02:42:18 +02:00

tests: avoid false failure with many mountpoints

* tests/ls/readdir-mountpoint-inode.sh: Only take the first 64.
This commit is contained in:
Pádraig Brady
2025-01-15 11:52:23 +00:00
parent 868cd727df
commit 4bb1fc2445

View File

@@ -21,7 +21,7 @@ print_ver_ ls
# We use --local here so as to not activate
# potentially very many remote mounts.
df --local --out=target | sed -n '/^\/./p' > mount_points
df --local --out=target | sed -n '/^\/./p' | head -n 64 > mount_points
test -s mount_points ||
skip_ "this test requires a non-root mount point"