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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user