Don't fail when run with VERBOSE=yes.

Do `set +x' before starting the subshell
from which we invoke chgrp.  Otherwise, the output from the
VERBOSE=yes-induced `set -x' would result in spurious differences.
This commit is contained in:
Jim Meyering 2003-10-21 16:07:47 +00:00
parent 71453277f0
commit 7e9a874be6

View File

@ -36,6 +36,9 @@ chgrp $g2 f || fail=1
chgrp $g2 f2 || fail=1
chgrp -R $g1 d || fail=1
# Don't let verbose output interfere.
test "$VERBOSE" = yes && set +x
(
chgrp -c $g1 f
chgrp -c $g2 f