summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/t-chdir-long4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/t-chdir-long b/lib/t-chdir-long
index f3c91c780..d641a5971 100755
--- a/lib/t-chdir-long
+++ b/lib/t-chdir-long
@@ -49,6 +49,8 @@ for t in . /t /tmp /var/tmp; do
if test "$TMPDIR" = . ; then
(pwd|tr -d '\n'; sed 's/^\.//' in) > k; rm -f in; mv k in
fi
- diff -u in out > diff || { echo FAIL $t:$i; cut -b 1-35 diff; } && :
+ diff -u in out > diff \
+ || { echo FAIL $t:$i; cut -b 1-35 diff; } \
+ && rm -f diff in out
done
done