Skip to content

Commit

Permalink
test(toplevel-perms): excl. regular files #150
Browse files Browse the repository at this point in the history
  • Loading branch information
ezrizhu committed Mar 9, 2024
1 parent bf0dfae commit 3ad69ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/toplevel-perms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit 3ad69ce

Please sign in to comment.