[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI] {master} tests: fix self check spurious failure with older bash ve
From: |
Stefano Lattarini |
Subject: |
[FYI] {master} tests: fix self check spurious failure with older bash versions |
Date: |
Sun, 1 May 2011 15:56:31 +0200 |
User-agent: |
KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) |
* tests/self-check-cleanup.test: Add trailing `:' to the test code
passed to $SHELL, otherwise older versions of bash (at least 2.05
and 3.2.39) fail to correctly remove the temporary directory in
the exit trap.
---
ChangeLog | 8 ++++++++
tests/self-check-cleanup.test | 1 +
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index b52a375..fc73c6a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-05-01 Stefano Lattarini <address@hidden>
+
+ tests: fix self check spurious failure with older bash versions
+ * tests/self-check-cleanup.test: Add trailing `:' to the test code
+ passed to $SHELL, otherwise older versions of bash (at least 2.05
+ and 3.2.39) fail to correctly remove the temporary directory in
+ the exit trap.
+
2011-04-29 Stefano Lattarini <address@hidden>
testsuite: more environment sanitization
diff --git a/tests/self-check-cleanup.test b/tests/self-check-cleanup.test
index 390d9b5..945194f 100755
--- a/tests/self-check-cleanup.test
+++ b/tests/self-check-cleanup.test
@@ -67,6 +67,7 @@ $SHELL -c '
cd ..
chmod 000 dir/sub/* dir/file dir/symlink
chmod 000 dir/sub dir
+ :
' dummy.test
test ! -f $dir
test ! -d $dir
--
1.7.2.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [FYI] {master} tests: fix self check spurious failure with older bash versions,
Stefano Lattarini <=