grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v3.7-23-g015d028


From: Paul Eggert
Subject: grep branch, master, updated. v3.7-23-g015d028
Date: Wed, 10 Nov 2021 21:24: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  015d028d0598f31d5aa25e5c47dfe8872afb4e6e (commit)
       via  f585b6bb3b7f95abfe7a4f4981e12e0e2c47fb6f (commit)
      from  b3a85a1a8a816f4f6f9c01399c16efe92a86ca06 (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=015d028d0598f31d5aa25e5c47dfe8872afb4e6e


commit 015d028d0598f31d5aa25e5c47dfe8872afb4e6e
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Wed Nov 10 18:23:49 2021 -0800

    tests: fix pcre test typo
    
    * tests/pcre-context: Initialize ‘fail’ earlier.

diff --git a/tests/pcre-context b/tests/pcre-context
index 77cb863..d66bebb 100755
--- a/tests/pcre-context
+++ b/tests/pcre-context
@@ -18,6 +18,8 @@ ab4
 EOF
 test $? -eq 0 || framework_failure_
 
+fail=0
+
 grep -Po '(?<=aaa).*' in >out || fail_ 'grep -Po failed'
 compare exp out || fail=1
 
@@ -28,12 +30,12 @@ printf '\n\n\nNUL preceded by 3 empty lines.\0' >>in &&
 printf '\n\n\n\nNUL preceded by 4 empty lines.\0' >>in &&
 printf '\n' >>in || framework_failure_
 
+# This output is not correct as it is missing the expected LF characters,
+# but a full fix will have to wait until PCRE2.
 printf '%s\0' \
        'NUL preceded by 3 empty lines.' \
        'NUL preceded by 4 empty lines.' >exp || framework_failure_
 
-fail=0
-
 grep -Pzo '(?<=\n\n\n).*' in >out || fail_ 'grep -Pzo failed'
 compare exp out || fail=1
 

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


commit 015d028d0598f31d5aa25e5c47dfe8872afb4e6e
Author: Paul Eggert <eggert@cs.ucla.edu>
Date:   Wed Nov 10 18:23:49 2021 -0800

    tests: fix pcre test typo
    
    * tests/pcre-context: Initialize ‘fail’ earlier.

diff --git a/tests/pcre-context b/tests/pcre-context
index 77cb863..d66bebb 100755
--- a/tests/pcre-context
+++ b/tests/pcre-context
@@ -18,6 +18,8 @@ ab4
 EOF
 test $? -eq 0 || framework_failure_
 
+fail=0
+
 grep -Po '(?<=aaa).*' in >out || fail_ 'grep -Po failed'
 compare exp out || fail=1
 
@@ -28,12 +30,12 @@ printf '\n\n\nNUL preceded by 3 empty lines.\0' >>in &&
 printf '\n\n\n\nNUL preceded by 4 empty lines.\0' >>in &&
 printf '\n' >>in || framework_failure_
 
+# This output is not correct as it is missing the expected LF characters,
+# but a full fix will have to wait until PCRE2.
 printf '%s\0' \
        'NUL preceded by 3 empty lines.' \
        'NUL preceded by 4 empty lines.' >exp || framework_failure_
 
-fail=0
-
 grep -Pzo '(?<=\n\n\n).*' in >out || fail_ 'grep -Pzo failed'
 compare exp out || fail=1
 

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

Summary of changes:
 tests/pcre-context | 44 +++++++++++++++++++++++++-------------------
 1 file changed, 25 insertions(+), 19 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

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