summaryrefslogtreecommitdiff
path: root/lib/t-chdir-long
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-01-19 12:50:12 +0000
committerJim Meyering <jim@meyering.net>2005-01-19 12:50:12 +0000
commit5ff3a2e214a72ae774ca490825f1649707858b64 (patch)
tree982e8a76cdce38f566058f71116459d04fc231e3 /lib/t-chdir-long
parent3fc13d753c1d740b7283fe5bc0483cc035f10115 (diff)
downloadcoreutils-5ff3a2e214a72ae774ca490825f1649707858b64.tar.xz
remove diff, in, out
Diffstat (limited to 'lib/t-chdir-long')
-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