From: Pádraig Brady
Date: Wed, 15 Jan 2025 11:52:23 +0000 (+0000) Subject: tests: avoid false failure with many mountpoints X-Git-Tag: v9.6~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4bb1fc24454e9c31c32f7be7b9970e97de38d4a5;p=thirdparty%2Fcoreutils.git tests: avoid false failure with many mountpoints * tests/ls/readdir-mountpoint-inode.sh: Only take the first 64. --- diff --git a/tests/ls/readdir-mountpoint-inode.sh b/tests/ls/readdir-mountpoint-inode.sh index a147b148f0..d6e967a153 100755 --- a/tests/ls/readdir-mountpoint-inode.sh +++ b/tests/ls/readdir-mountpoint-inode.sh @@ -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"