From 3ad69cebde448a065a9f734f932fbd74a6e365e3 Mon Sep 17 00:00:00 2001 From: Ezri Zhu Date: Sat, 9 Mar 2024 04:59:51 +0000 Subject: [PATCH] test(toplevel-perms): excl. regular files #150 --- test/toplevel-perms.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/toplevel-perms.sh b/test/toplevel-perms.sh index b0ec8560..71584aed 100755 --- a/test/toplevel-perms.sh +++ b/test/toplevel-perms.sh @@ -34,7 +34,7 @@ cd "$try_workspace" || return 9 touch test cmd="$(mktemp)" -echo "find / -maxdepth 1 -print0 | xargs -0 ls -ld | awk '{print substr(\$1, 1, 10), \$3, \$4, \$9, \$10, \$11}' | grep -v 'proc' | grep -v 'swap'" > "$cmd" +echo "find / -maxdepth 1 -type d -print0 | xargs -0 ls -ld | awk '{print substr(\$1, 1, 10), \$9, \$10, \$11}' | grep -v '/proc' " > "$cmd" # Set up expected output expected="$(mktemp)"