diff options
-rwxr-xr-x | tests/chmod/usage | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/chmod/usage b/tests/chmod/usage index 971d98065..31d0c6f97 100755 --- a/tests/chmod/usage +++ b/tests/chmod/usage @@ -79,7 +79,8 @@ for case in $cases; do for file in $files; do # Test for misparsing args by creating all $files but $file. # chmod has a bug if it succeeds even though $file is absent. - rm -f -- $files && touch -- $files && rm -- $file || framework_failure=1 + rm -f -- $all_files && touch -- $files && rm -- $file \ + || framework_failure=1 chmod $args 2>/dev/null && fail=1 done ;; |