[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep branch, master, updated. v3.1-53-g71b19c5

From: Jim Meyering
Subject: grep branch, master, updated. v3.1-53-g71b19c5
Date: Tue, 18 Dec 2018 11:03:27 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  71b19c5cbdaa5f130380bca2475b935fef0b1b21 (commit)
      from  41d17c3f0ef3043c66f40349358fe9e88ca48582 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit 71b19c5cbdaa5f130380bca2475b935fef0b1b21
Author: Bruno Haible <address@hidden>
Date:   Mon Dec 17 22:07:25 2018 -0800

    tests: stack-overflow: avoid unwarranted test failure on some hosts
    * tests/stack-overflow: Use ulimit to limit stack size. Otherwise,
    at least on gcc113, grep would fail to overflow its stack, so this
    test would fail to find the required diagnostic and would fail.

diff --git a/tests/stack-overflow b/tests/stack-overflow
index b80a8be..1e10081 100755
--- a/tests/stack-overflow
+++ b/tests/stack-overflow
@@ -5,6 +5,11 @@
 echo grep: stack overflow > exp || framework_failure_
+# Limit stack size.  Otherwise, it appears to be too hard to overflow the
+# stack on some systems like gcc113, aarch64/linux-3.13.0 with 32GB of RAM
+# and 20GB of swap.
+ulimit -s 8192 2>/dev/null
 # grep attempts to detect overflow via gnulib's c-stack module.
 # Trigger that with an input regex composed solely of open parentheses,
 # increasing the size of that input until grep emits the expected diagnostic.


Summary of changes:
 tests/stack-overflow | 5 +++++
 1 file changed, 5 insertions(+)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]