summaryrefslogtreecommitdiff
path: root/tests/cp/backup-1
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-01-18 02:54:36 +0000
committerJim Meyering <jim@meyering.net>1999-01-18 02:54:36 +0000
commit890d74d50b72479eb5d4a193b64cd46d660112de (patch)
treef47e5e2716b4cd3027b9ccacf91f9da609fe37f0 /tests/cp/backup-1
parentf0f15679fb833285f2c21d4cb2d5b4fd54389452 (diff)
downloadcoreutils-890d74d50b72479eb5d4a193b64cd46d660112de.tar.xz
Now that PATH is set properly, use rm and cp rather than $RM and $CP.
Diffstat (limited to 'tests/cp/backup-1')
-rwxr-xr-xtests/cp/backup-16
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/cp/backup-1 b/tests/cp/backup-1
index 3557b57b2..20da79067 100755
--- a/tests/cp/backup-1
+++ b/tests/cp/backup-1
@@ -1,10 +1,8 @@
#!/bin/sh
-: ${CP=cp}
-
if test "$VERBOSE" = yes; then
set -x
- $CP --version
+ cp --version
fi
suffix=.b
@@ -18,7 +16,7 @@ echo test > $tmp || fail=1
# Specify both version control and suffix so the environment variables
# (possibly set by the user running these tests) aren't used.
-$CP --force --backup --version-control=simple --suffix=$suffix $tmp $tmp \
+cp --force --backup --version-control=simple --suffix=$suffix $tmp $tmp \
|| fail=1
test -f $tmp || fail=1