summaryrefslogtreecommitdiff
path: root/tests/cp
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-04-07 15:52:14 +0000
committerJim Meyering <jim@meyering.net>2002-04-07 15:52:14 +0000
commitc20f3cd330dbc2b7bb8884f39e8295f1628900c3 (patch)
tree20e0656fc247f2d035fee45e5620bb824fe0d100 /tests/cp
parenta88ba0dd94e65cc6322c4356682829298274f73a (diff)
downloadcoreutils-c20f3cd330dbc2b7bb8884f39e8295f1628900c3.tar.xz
Add VERBOSE=yes support.
Diffstat (limited to 'tests/cp')
-rwxr-xr-xtests/cp/fail-perm5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/cp/fail-perm b/tests/cp/fail-perm
index 160b1e76a..b6f745084 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