[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep branch, master, updated. v3.1-43-g30e666c
From: |
Jim Meyering |
Subject: |
grep branch, master, updated. v3.1-43-g30e666c |
Date: |
Tue, 16 Oct 2018 20:20:19 -0400 (EDT) |
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 30e666ca22eaa7e69330ca46201e40f1cdb0f41e (commit)
via 412c65b502605fd4605c28097b2fb9e95a94303f (commit)
from c5c3b2ef023f996d0a80c8380945804a7575680a (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=30e666ca22eaa7e69330ca46201e40f1cdb0f41e
commit 30e666ca22eaa7e69330ca46201e40f1cdb0f41e
Author: Jim Meyering <address@hidden>
Date: Tue Oct 16 17:13:04 2018 -0700
tests: reduce the sole failing test
* tests/backref-alt: Significantly reduce abort-inducing input.
diff --git a/tests/backref-alt b/tests/backref-alt
index c87f29e..91c01b2 100755
--- a/tests/backref-alt
+++ b/tests/backref-alt
@@ -24,9 +24,10 @@ grep -E '0|()0|\1|0' in >out
status=$?
test $status -eq 2 || test $status -eq 1 || fail=1
-# This fuzz test comes from Bug#27838.
-printf
'\1772{\177)\216\216\n\216\216\t\0372{\177)(\037W3|\244\\\220)\0373|d{\244k\220)\0373|(|2{\177)(\037W3|\244\\\220)\0373|d{\244k\220)\0373|d{\220)(\013\0373|2{\177)\216\255\t\216\216\t\0373|$\\2\n'
>pat
-LC_ALL=C grep -E -f pat in >out
+# This test is a reduced version of the one in Bug#27838.
+# It triggers this glibc assertion failure:
+# grep: regexec.c:1342: pop_fail_stack: Assertion `num >= 0' failed.
+LC_ALL=C grep -E '(()x)|\2' in > out
status=$?
test $status -eq 2 || test $status -eq 1 || fail=1
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=412c65b502605fd4605c28097b2fb9e95a94303f
commit 30e666ca22eaa7e69330ca46201e40f1cdb0f41e
Author: Jim Meyering <address@hidden>
Date: Tue Oct 16 17:13:04 2018 -0700
tests: reduce the sole failing test
* tests/backref-alt: Significantly reduce abort-inducing input.
diff --git a/tests/backref-alt b/tests/backref-alt
index c87f29e..91c01b2 100755
--- a/tests/backref-alt
+++ b/tests/backref-alt
@@ -24,9 +24,10 @@ grep -E '0|()0|\1|0' in >out
status=$?
test $status -eq 2 || test $status -eq 1 || fail=1
-# This fuzz test comes from Bug#27838.
-printf
'\1772{\177)\216\216\n\216\216\t\0372{\177)(\037W3|\244\\\220)\0373|d{\244k\220)\0373|(|2{\177)(\037W3|\244\\\220)\0373|d{\244k\220)\0373|d{\220)(\013\0373|2{\177)\216\255\t\216\216\t\0373|$\\2\n'
>pat
-LC_ALL=C grep -E -f pat in >out
+# This test is a reduced version of the one in Bug#27838.
+# It triggers this glibc assertion failure:
+# grep: regexec.c:1342: pop_fail_stack: Assertion `num >= 0' failed.
+LC_ALL=C grep -E '(()x)|\2' in > out
status=$?
test $status -eq 2 || test $status -eq 1 || fail=1
-----------------------------------------------------------------------
Summary of changes:
bootstrap | 22 ++++++----------------
gnulib | 2 +-
tests/backref-alt | 7 ++++---
tests/init.sh | 23 ++++++++++++++++++-----
4 files changed, 29 insertions(+), 25 deletions(-)
hooks/post-receive
--
grep
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- grep branch, master, updated. v3.1-43-g30e666c,
Jim Meyering <=