bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] test-perror.sh (tmpfiles): Cleanup temporary files on success.


From: Simon Josefsson
Subject: [PATCH] test-perror.sh (tmpfiles): Cleanup temporary files on success.
Date: Tue, 23 Sep 2008 10:52:07 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux)

Pushed, it was preventing my daily build from completing:

ERROR: files left in build directory after distclean:
./gltests/t-perror1.tmp
./gltests/t-perror3.tmp
./gltests/t-perror.tmp
./gltests/t-perror2.tmp
make[1]: *** [distcleancheck] Error 1

/Simon

---
 ChangeLog            |    5 +++++
 tests/test-perror.sh |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 41e6aad..a66d9cb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-23  Simon Josefsson  <address@hidden>
+
+       * tests/test-perror.sh (tmpfiles): Cleanup temporary files on
+       success.
+
 2008-09-22  Eric Blake  <address@hidden>
             Bruno Haible  <address@hidden>
 
diff --git a/tests/test-perror.sh b/tests/test-perror.sh
index 3ab20ab..f2c8fdc 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
-- 
1.5.6.5





reply via email to

[Prev in Thread] Current Thread [Next in Thread]