summaryrefslogtreecommitdiff
path: root/tests/ln
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-01-18 18:33:58 +0000
committerJim Meyering <jim@meyering.net>1999-01-18 18:33:58 +0000
commit67a1a846c49bbff1689422603410abf3367fdb66 (patch)
tree678b7de59f9d43c5440453158a3566bdcc3043fd /tests/ln
parentd3b6e5f4fb8376554d4d6be8a4b6ea84a0ab6e81 (diff)
downloadcoreutils-67a1a846c49bbff1689422603410abf3367fdb66.tar.xz
remove temporary files
Diffstat (limited to 'tests/ln')
-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