From: Jim Meyering Date: Sun, 7 Apr 2002 15:52:14 +0000 (+0000) Subject: Add VERBOSE=yes support. X-Git-Tag: SH-UTILS-2_0_12~199 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c20f3cd330dbc2b7bb8884f39e8295f1628900c3;p=thirdparty%2Fcoreutils.git Add VERBOSE=yes support. --- diff --git a/tests/cp/fail-perm b/tests/cp/fail-perm index 160b1e76a2..b6f745084c 100755 --- a/tests/cp/fail-perm +++ b/tests/cp/fail-perm @@ -1,5 +1,10 @@ #!/bin/sh +if test "$VERBOSE" = yes; then + set -x + cp --version +fi + pwd=`pwd` tmp=fail-perm.$$ trap 'status=$?; cd $pwd; rm -rf $tmp && exit $status' 0