mirror of
https://github.com/coreutils/coreutils.git
synced 2024-12-02 22:44:44 +08:00
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.
This commit is contained in:
parent
d69237e2d6
commit
791845693a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user