From: Stefano Lattarini Date: Thu, 2 Jun 2011 12:13:18 +0000 (+0200) Subject: tests: fix spurious failure of cond29.test on NetBSD X-Git-Tag: ng-0.5a~89^2~205 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1017337a19e16c47783405bfe9670f5cf936ffe;p=thirdparty%2Fautomake.git 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'. --- diff --git a/ChangeLog b/ChangeLog index 0d7ea42ec..9735bc468 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-06-02 Stefano Lattarini + + 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 maintcheck: fix again few more failures diff --git a/tests/cond29.test b/tests/cond29.test index cbfc204b6..33610811f 100755 --- a/tests/cond29.test +++ b/tests/cond29.test @@ -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 <