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:
Jim Meyering 2004-06-29 14:38:32 +00:00
parent d69237e2d6
commit 791845693a

View File

@ -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