mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-20 10:51:48 +02: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user