diff options
author | Jim Meyering <jim@meyering.net> | 2004-06-29 14:38:32 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-06-29 14:38:32 +0000 |
commit | 791845693a6197b4ec0ebcb669ab9a5f35925e1a (patch) | |
tree | 694c56e0b48756916ef8bfbd399d4a700efef526 /tests/rm/inaccessible | |
parent | d69237e2d60b636940c43a52bfbdffbb9632b808 (diff) | |
download | coreutils-791845693a6197b4ec0ebcb669ab9a5f35925e1a.tar.xz |
Don't let verbose-mode output from a subshell obscure actual differences.
Turn off command-echoing just before
invoking subshell, then turn it back on if VERBOSE=yes afterward.
Diffstat (limited to 'tests/rm/inaccessible')
-rwxr-xr-x | tests/rm/inaccessible | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/rm/inaccessible b/tests/rm/inaccessible index a6567c0cd..843e44e3a 100755 --- a/tests/rm/inaccessible +++ b/tests/rm/inaccessible @@ -27,7 +27,9 @@ fi fail=0 p=$pwd/$tmp +set +x (cd no-access; chmod 0 . && rm -r $p/abs1 rel $p/abs2) 2> out && fail=1 +test "$VERBOSE" = yes && set -x test -d $p/abs1 && fail=1 test -d $p/abs2 && fail=1 |