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)"