From 791845693a6197b4ec0ebcb669ab9a5f35925e1a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 29 Jun 2004 14:38:32 +0000 Subject: 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. --- tests/rm/inaccessible | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/rm/inaccessible') diff --git a/tests/rm/inaccessible b/tests/rm/inaccessible index a6567c0cd..843e44e3a 100755 --- a/tests/rm/inaccessible +++ b/tests/rm/inaccessible @@ -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 -- cgit v1.2.3-54-g00ecf