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 <[EMAIL PROTECTED]>
+
+ * tests/test-perror.sh (tmpfiles): Cleanup temporary files on
+ success.
+
2008-09-22 Eric Blake <[EMAIL PROTECTED]>
Bruno Haible <[EMAIL PROTECTED]>
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