grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v2.20-24-g2064eda


From: Paul Eggert
Subject: grep branch, master, updated. v2.20-24-g2064eda
Date: Thu, 11 Sep 2014 19:10:41 +0000

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  2064edafdbd0e061d80e83196cbfd80a8be9cadc (commit)
      from  a91552594dfd94469fc7b13f059bd0da9c679099 (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=2064edafdbd0e061d80e83196cbfd80a8be9cadc


commit 2064edafdbd0e061d80e83196cbfd80a8be9cadc
Author: Paul Eggert <address@hidden>
Date:   Thu Sep 11 12:05:19 2014 -0700

    grep: fix false matches with -P '...$' and invalid UTF-8
    
    * tests/pcre-invalid-utf8-input: Add a test for that.

diff --git a/tests/pcre-invalid-utf8-input b/tests/pcre-invalid-utf8-input
index f42e0dd..9da4b18 100755
--- a/tests/pcre-invalid-utf8-input
+++ b/tests/pcre-invalid-utf8-input
@@ -13,9 +13,12 @@ require_en_utf8_locale_
 
 fail=0
 
-printf 'j\202\nj\n' > in || framework_failure_
+printf 'j\202j\nj\nk\202\n' > in || framework_failure_
 
 LC_ALL=en_US.UTF-8 grep -P j in
 test $? -eq 0 || fail=1
 
+LC_ALL=en_US.UTF-8 grep -P 'k$' in
+test $? -eq 1 || fail=1
+
 Exit $fail

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

Summary of changes:
 tests/pcre-invalid-utf8-input |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

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