summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/ln/backup-12
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ln/backup-1 b/tests/ln/backup-1
index 40b09dc26..afb4a63d9 100755
--- a/tests/ln/backup-1
+++ b/tests/ln/backup-1
@@ -8,6 +8,8 @@ if test "$VERBOSE" = yes; then
ln --version
fi
+trap "rm -rf a b b~" 0 1 2 3 15
+
framework_failure=0
touch a b || framework_failure=1