From: Simon Josefsson Date: Tue, 23 Sep 2008 08:48:34 +0000 (+0200) Subject: test-perror.sh (tmpfiles): Cleanup temporary files on success. X-Git-Tag: v0.1~7019 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=31523c2b533c2d66c7155518388d5cc3abf291f4;p=gnulib.git test-perror.sh (tmpfiles): Cleanup temporary files on success. --- diff --git a/ChangeLog b/ChangeLog index 41e6aad1f..a66d9cbbb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-09-23 Simon Josefsson + + * tests/test-perror.sh (tmpfiles): Cleanup temporary files on + success. + 2008-09-22 Eric Blake Bruno Haible diff --git a/tests/test-perror.sh b/tests/test-perror.sh index 3ab20abfc..f2c8fdc33 100755 --- a/tests/test-perror.sh +++ b/tests/test-perror.sh @@ -23,4 +23,5 @@ sed -e 's/^/foo: /' < t-perror.tmp > t-perror2.tmp diff t-perror2.tmp t-perror3.tmp test $? = 0 || { rm -fr $tmpfiles; exit 1; } +rm -fr $tmpfiles exit 0