grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v3.1-48-g7eeab06


From: Jim Meyering
Subject: grep branch, master, updated. v3.1-48-g7eeab06
Date: Sat, 15 Dec 2018 21:40:20 -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  7eeab0689a72e8f2283531c61bd5edb7c19a7608 (commit)
       via  853f1e432888402f4b37a19345c68e76036526bf (commit)
       via  9157494ee4411c401e904314507527c6d02319b6 (commit)
      from  06ce13ab4c4b53606d3cc3d6c42add2b7a91e2a7 (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=7eeab0689a72e8f2283531c61bd5edb7c19a7608


commit 7eeab0689a72e8f2283531c61bd5edb7c19a7608
Author: Jim Meyering <address@hidden>
Date:   Sat Dec 15 17:11:22 2018 -0800

    tests: stack-overflow: handle the case of success without the diagnostic
    
    * tests/stack-overflow: Do not always require a stack
    overflow diagnostic.

diff --git a/tests/stack-overflow b/tests/stack-overflow
index 6922045..492e959 100755
--- a/tests/stack-overflow
+++ b/tests/stack-overflow
@@ -22,4 +22,13 @@ for i in 1 3 5 10 20 30 40 50 100 200; do
   fi
 done
 
+# If there was no stack overflow message and the final run exited with
+# status 1 and both stdout and stderr were empty, then assume it's a working
+# regex that avoids the internal stack overflow problem like glibc's regexp
+# used to.
+test $st = 1 \
+  && ! test -s out \
+  && ! test -s err \
+  && Exit 0
+
 fail_ 'grep never printed "stack overflow"'

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=853f1e432888402f4b37a19345c68e76036526bf


commit 7eeab0689a72e8f2283531c61bd5edb7c19a7608
Author: Jim Meyering <address@hidden>
Date:   Sat Dec 15 17:11:22 2018 -0800

    tests: stack-overflow: handle the case of success without the diagnostic
    
    * tests/stack-overflow: Do not always require a stack
    overflow diagnostic.

diff --git a/tests/stack-overflow b/tests/stack-overflow
index 6922045..492e959 100755
--- a/tests/stack-overflow
+++ b/tests/stack-overflow
@@ -22,4 +22,13 @@ for i in 1 3 5 10 20 30 40 50 100 200; do
   fi
 done
 
+# If there was no stack overflow message and the final run exited with
+# status 1 and both stdout and stderr were empty, then assume it's a working
+# regex that avoids the internal stack overflow problem like glibc's regexp
+# used to.
+test $st = 1 \
+  && ! test -s out \
+  && ! test -s err \
+  && Exit 0
+
 fail_ 'grep never printed "stack overflow"'

http://git.savannah.gnu.org/cgit/grep.git/commit/?id=9157494ee4411c401e904314507527c6d02319b6


commit 7eeab0689a72e8f2283531c61bd5edb7c19a7608
Author: Jim Meyering <address@hidden>
Date:   Sat Dec 15 17:11:22 2018 -0800

    tests: stack-overflow: handle the case of success without the diagnostic
    
    * tests/stack-overflow: Do not always require a stack
    overflow diagnostic.

diff --git a/tests/stack-overflow b/tests/stack-overflow
index 6922045..492e959 100755
--- a/tests/stack-overflow
+++ b/tests/stack-overflow
@@ -22,4 +22,13 @@ for i in 1 3 5 10 20 30 40 50 100 200; do
   fi
 done
 
+# If there was no stack overflow message and the final run exited with
+# status 1 and both stdout and stderr were empty, then assume it's a working
+# regex that avoids the internal stack overflow problem like glibc's regexp
+# used to.
+test $st = 1 \
+  && ! test -s out \
+  && ! test -s err \
+  && Exit 0
+
 fail_ 'grep never printed "stack overflow"'

-----------------------------------------------------------------------

Summary of changes:
 configure.ac         | 2 +-
 gnulib               | 2 +-
 tests/stack-overflow | 9 +++++++++
 3 files changed, 11 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

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