summaryrefslogtreecommitdiff
path: root/tests/cp
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-07-09 18:11:59 +0000
committerJim Meyering <jim@meyering.net>1997-07-09 18:11:59 +0000
commit8dfdbd327c3491c2b39852b4c68cbeb6d8452a74 (patch)
tree265985a0efc1e6b7cfafd5aaee34df89ad9dc4f8 /tests/cp
parent49ec273bd5369d23f4f6fc84203ef4ce8f487b74 (diff)
downloadcoreutils-8dfdbd327c3491c2b39852b4c68cbeb6d8452a74.tar.xz
.
Diffstat (limited to 'tests/cp')
-rwxr-xr-xtests/cp/backup-15
-rwxr-xr-xtests/cp/no-deref-link15
-rwxr-xr-xtests/cp/no-deref-link25
-rwxr-xr-xtests/cp/no-deref-link35
4 files changed, 20 insertions, 0 deletions
diff --git a/tests/cp/backup-1 b/tests/cp/backup-1
index 58bf99926..3557b57b2 100755
--- a/tests/cp/backup-1
+++ b/tests/cp/backup-1
@@ -2,6 +2,11 @@
: ${CP=cp}
+if test "$VERBOSE" = yes; then
+ set -x
+ $CP --version
+fi
+
suffix=.b
tmp=b1.$$
tmp_backup="$tmp$suffix"
diff --git a/tests/cp/no-deref-link1 b/tests/cp/no-deref-link1
index 05e1e796d..a1a756c68 100755
--- a/tests/cp/no-deref-link1
+++ b/tests/cp/no-deref-link1
@@ -4,6 +4,11 @@
: ${CP=cp}
+if test "$VERBOSE" = yes; then
+ set -x
+ $CP --version
+fi
+
rm -rf a b
mkdir a b
msg=bar
diff --git a/tests/cp/no-deref-link2 b/tests/cp/no-deref-link2
index 66847cd30..5c194a080 100755
--- a/tests/cp/no-deref-link2
+++ b/tests/cp/no-deref-link2
@@ -4,6 +4,11 @@
: ${CP=cp}
+if test "$VERBOSE" = yes; then
+ set -x
+ $CP --version
+fi
+
rm -rf a b
mkdir b
msg=bar
diff --git a/tests/cp/no-deref-link3 b/tests/cp/no-deref-link3
index 5bb062477..148694860 100755
--- a/tests/cp/no-deref-link3
+++ b/tests/cp/no-deref-link3
@@ -4,6 +4,11 @@
: ${CP=cp}
+if test "$VERBOSE" = yes; then
+ set -x
+ $CP --version
+fi
+
rm -rf a b
msg=bar
echo $msg > a