summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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