diff options
author | Jim Meyering <jim@meyering.net> | 2003-10-21 16:07:47 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-10-21 16:07:47 +0000 |
commit | 7e9a874be6c489e0633e9a28bedaa4a74cd5c2b9 (patch) | |
tree | d187f7320ddf4952c94dec774788dafd3650316b /tests/chgrp | |
parent | 71453277f05856bd8eeeda7109b4b9b7c384d208 (diff) | |
download | coreutils-7e9a874be6c489e0633e9a28bedaa4a74cd5c2b9.tar.xz |
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.
Diffstat (limited to 'tests/chgrp')
-rwxr-xr-x | tests/chgrp/basic | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/chgrp/basic b/tests/chgrp/basic index 5c5a574c9..ee2f2b535 100755 --- a/tests/chgrp/basic +++ b/tests/chgrp/basic @@ -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 |