summaryrefslogtreecommitdiff
path: root/tests/cp/backup-is-src
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/backup-is-src')
-rwxr-xr-xtests/cp/backup-is-src1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/cp/backup-is-src b/tests/cp/backup-is-src
index bf03e590a..f226382d0 100755
--- a/tests/cp/backup-is-src
+++ b/tests/cp/backup-is-src
@@ -26,6 +26,7 @@ fi
echo a > a || framework_failure
echo a-tilde > a~ || framework_failure
+fail=0
# This cp command should exit nonzero.
cp --b=simple a~ a > out 2>&1 && fail=1