summaryrefslogtreecommitdiff
path: root/tests/tail-2/infloop-1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tail-2/infloop-1')
-rwxr-xr-xtests/tail-2/infloop-14
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/tail-2/infloop-1 b/tests/tail-2/infloop-1
index b7db992fc..7626d7ec8 100755
--- a/tests/tail-2/infloop-1
+++ b/tests/tail-2/infloop-1
@@ -1,7 +1,9 @@
#!/bin/sh
# This test would fail with tail from pre-1.22i textutils.
-tmp=t1-tail.$$
+tmp=tail-inf1.$$
+pwd=`pwd`
+trap "cd $pwd; rm -rf $tmp" 0 1 2 3 15
if test "$VERBOSE" = yes; then
set -x