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-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31523c2b533c2d66c7155518388d5cc3abf291f4;p=pspp test-perror.sh (tmpfiles): Cleanup temporary files on success. --- diff --git a/ChangeLog b/ChangeLog index 41e6aad1fa..a66d9cbbb0 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 3ab20abfc0..f2c8fdc336 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