]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: fix self check spurious failure with older bash versions
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 1 May 2011 13:54:46 +0000 (15:54 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 1 May 2011 13:55:43 +0000 (15:55 +0200)
* 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
tests/self-check-cleanup.test

index b52a375bc7967ca4b381b175b7c8d358e5705899..046ecffc6d7b0e1600403c445a32a64397170dbc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-05-01  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       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  <stefano.lattarini@gmail.com>
 
        testsuite: more environment sanitization
index 390d9b520000a0e3276c8185c981339d61b7dc21..945194fb7a8bc5258e36d68e4221bdcb0ee6f385 100755 (executable)
@@ -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