From e1017337a19e16c47783405bfe9670f5cf936ffe Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Thu, 2 Jun 2011 14:13:18 +0200 Subject: [PATCH] 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'. --- ChangeLog | 8 ++++++++ tests/cond29.test | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) 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 <