summaryrefslogtreecommitdiff
path: root/tests/cp/backup-1
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-07-08 23:06:36 +0000
committerJim Meyering <jim@meyering.net>1997-07-08 23:06:36 +0000
commit8f19e15873ac8797e7f204e941f34a3c830cf1d4 (patch)
tree9d75da56e834104b48d62f647c84a50d9c11d48c /tests/cp/backup-1
parentc2f3a114a8f41f6e426839b6d8ad32d1567ab78d (diff)
downloadcoreutils-8f19e15873ac8797e7f204e941f34a3c830cf1d4.tar.xz
*** empty log message ***
Diffstat (limited to 'tests/cp/backup-1')
-rwxr-xr-xtests/cp/backup-12
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/cp/backup-1 b/tests/cp/backup-1
index 25c179cf8..58bf99926 100755
--- a/tests/cp/backup-1
+++ b/tests/cp/backup-1
@@ -11,6 +11,8 @@ rm -f $temp_files
fail=0
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 \
|| fail=1