[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep branch, master, updated. v3.3-13-g3b232c7
From: |
Jim Meyering |
Subject: |
grep branch, master, updated. v3.3-13-g3b232c7 |
Date: |
Mon, 18 Feb 2019 13:52:37 -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 3b232c7e2c408eec801c4a69eb23c42b1e22c17c (commit)
via 6861bd8698b3177816fcc4d1a892df6e0701f1f6 (commit)
from ab8c4b4c39c6cd37d0047f6aadc5456b6faabcb7 (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 -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=3b232c7e2c408eec801c4a69eb23c42b1e22c17c
commit 3b232c7e2c408eec801c4a69eb23c42b1e22c17c
Author: Jim Meyering <address@hidden>
Date: Sun Feb 17 17:47:30 2019 -0800
tests: avoid false positive upon stack overflow
* tests/pcre-jitstack: Don't let a stack overflow evoke a false
failure. This test is to ensure there is no internal PCRE error.
Reported by Andreas Schwab in http://bugs.gnu.org/34370
diff --git a/tests/pcre-jitstack b/tests/pcre-jitstack
index a6c9c21..070074f 100755
--- a/tests/pcre-jitstack
+++ b/tests/pcre-jitstack
@@ -52,8 +52,11 @@ if test $? != 1; then
# Rerun that same test, but now with no limit on stack size:
(ulimit -s unlimited;
- returns_ 1 env LC_ALL=C grep -P -n '^([/](?!/)|[^/])*~/.*' pcrejit.txt) \
+ returns_ 1 env LC_ALL=C grep -P -n '^([/](?!/)|[^/])*~/.*' pcrejit.txt 2>
err) \
|| fail=1
+
+ # If that failed due to stack overflow, don't cry foul.
+ test $fail = 1 && { grep -q 'stack overflow' err && fail=0 || cat err; }
fi
Exit $fail
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=6861bd8698b3177816fcc4d1a892df6e0701f1f6
commit 3b232c7e2c408eec801c4a69eb23c42b1e22c17c
Author: Jim Meyering <address@hidden>
Date: Sun Feb 17 17:47:30 2019 -0800
tests: avoid false positive upon stack overflow
* tests/pcre-jitstack: Don't let a stack overflow evoke a false
failure. This test is to ensure there is no internal PCRE error.
Reported by Andreas Schwab in http://bugs.gnu.org/34370
diff --git a/tests/pcre-jitstack b/tests/pcre-jitstack
index a6c9c21..070074f 100755
--- a/tests/pcre-jitstack
+++ b/tests/pcre-jitstack
@@ -52,8 +52,11 @@ if test $? != 1; then
# Rerun that same test, but now with no limit on stack size:
(ulimit -s unlimited;
- returns_ 1 env LC_ALL=C grep -P -n '^([/](?!/)|[^/])*~/.*' pcrejit.txt) \
+ returns_ 1 env LC_ALL=C grep -P -n '^([/](?!/)|[^/])*~/.*' pcrejit.txt 2>
err) \
|| fail=1
+
+ # If that failed due to stack overflow, don't cry foul.
+ test $fail = 1 && { grep -q 'stack overflow' err && fail=0 || cat err; }
fi
Exit $fail
-----------------------------------------------------------------------
Summary of changes:
src/kwset.c | 2 +-
tests/pcre-jitstack | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
hooks/post-receive
--
grep
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- grep branch, master, updated. v3.3-13-g3b232c7,
Jim Meyering <=