[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI] {testsuite-work} tests: fix spurious failure of cond29.test on Net
From: |
Stefano Lattarini |
Subject: |
[FYI] {testsuite-work} tests: fix spurious failure of cond29.test on NetBSD |
Date: |
Thu, 2 Jun 2011 14:26:25 +0200 |
User-agent: |
KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) |
* 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 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 0d7ea42..9735bc4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2011-06-02 Stefano Lattarini <address@hidden>
+ 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 <address@hidden>
+
maintcheck: fix again few more failures
* tests/cond29.test: To please the `sc_tests_Exit_not_exit'
maintainer check, avoid using `sh -c "exit 0"' where a simple
diff --git a/tests/cond29.test b/tests/cond29.test
index cbfc204..3361081 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 <<EOF
--
1.7.2.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [FYI] {testsuite-work} tests: fix spurious failure of cond29.test on NetBSD,
Stefano Lattarini <=