]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: fix spurious failure of cond29.test on NetBSD
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 2 Jun 2011 12:13:18 +0000 (14:13 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 2 Jun 2011 12:13:18 +0000 (14:13 +0200)
* tests/cond29.test: Skip if we cannot safely limit the maximal
size of used virtual memory to 20K.  This fixes a spurious failure
on NetBSD.

Bug introduced in commit `v1.11-885-g908d335'.

ChangeLog
tests/cond29.test

index 0d7ea42ecf4366f149dd455df244dc16e7fe8d20..9735bc468e119e8ec7428f375ff33329ec84c0d8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-06-02  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       tests: fix spurious failure of cond29.test on NetBSD
+       * tests/cond29.test: Skip if we cannot safely limit the maximal
+       size of used virtual memory to 20K.  This fixes a spurious failure
+       on NetBSD.
+       Bug introduced in commit `v1.11-885-g908d335'.
+
 2011-06-02  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        maintcheck: fix again few more failures
index cbfc204b653d446fdfa5f7263ce7e52200c1506b..33610811ff79d6470b834feb8096e8327954a067 100755 (executable)
@@ -32,8 +32,9 @@ EOF
 # to define a01_DEPENDENCIES, a02_DEPENDENCIES, a03_OBJECTS,
 # a04_OBJECTS, and to rewrite bin_PROGRAM), eating all memory, swap,
 # or cpu time it can found.
-ulimit -v 20000 || skip_ "no adequate 'ulimit' builtin found"
 (ulimit -v 1; sh -c ":") && skip_ "no adequate 'ulimit' builtin found"
+(ulimit -v 20000; sh -c ":") || skip_ "no adequate 'ulimit' builtin found"
+ulimit -v 20000
 
 for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22; do
   unindent >>Makefile.am <<EOF