From 7e9a874be6c489e0633e9a28bedaa4a74cd5c2b9 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 21 Oct 2003 16:07:47 +0000 Subject: 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. --- tests/chgrp/basic | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') 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 -- cgit v1.2.3-54-g00ecf