From 4bb1fc24454e9c31c32f7be7b9970e97de38d4a5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Wed, 15 Jan 2025 11:52:23 +0000 Subject: [PATCH] tests: avoid false failure with many mountpoints * tests/ls/readdir-mountpoint-inode.sh: Only take the first 64. --- tests/ls/readdir-mountpoint-inode.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.47.3