grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v2.14-54-g37f7cd0


From: Jim Meyering
Subject: grep branch, master, updated. v2.14-54-g37f7cd0
Date: Thu, 24 Oct 2013 20:48:35 +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  37f7cd01040216c622fab84d3c6480774280e269 (commit)
       via  85e31d5a24018df78b6607dd82d4556936cac8df (commit)
      from  a181ed9a6778c313dda49b7d7921e4d700bb1d52 (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=37f7cd01040216c622fab84d3c6480774280e269


commit 37f7cd01040216c622fab84d3c6480774280e269
Author: Jim Meyering <address@hidden>
Date:   Thu Oct 24 11:21:03 2013 -0700

    tests: port more tests to bourne shells with hex-challenged printf
    
    * tests/pcre-utf8: Convert the hex \xHH literals for the euro symbol
    to octal \OOO.
    * tests/turkish-I: Likewise for "I with dot".
    * tests/turkish-I-without-dot: Likewise for another Turkish I: U+0131.

diff --git a/tests/pcre-utf8 b/tests/pcre-utf8
index 612b702..b8228d5 100755
--- a/tests/pcre-utf8
+++ b/tests/pcre-utf8
@@ -16,7 +16,7 @@ fail=0
 echo '$' | LC_ALL=en_US.UTF-8 grep -qP '\p{S}' \
   || skip_ 'PCRE support is compiled out, or it does not support properties'
 
-euro='\xe2\x82\xac euro'
+euro='\342\202\254 euro'
 printf "$euro\\n" > in || framework_failure_
 
 LC_ALL=en_US.UTF-8 grep -P '^\p{S}' in > out || fail=1
diff --git a/tests/turkish-I b/tests/turkish-I
index 2decc46..bb08553 100755
--- a/tests/turkish-I
+++ b/tests/turkish-I
@@ -23,7 +23,7 @@ require_compiled_in_MB_support
 
 fail=0
 
-i='\xC4\xB0'
+i='\304\260'
 printf "$i$i$i$i$i$i$i\n" > in || framework_failure_
 
 LC_ALL=en_US.UTF-8 grep -i .... in > out || fail=1
diff --git a/tests/turkish-I-without-dot b/tests/turkish-I-without-dot
index 2b4e9cc..daf0b75 100755
--- a/tests/turkish-I-without-dot
+++ b/tests/turkish-I-without-dot
@@ -47,7 +47,7 @@ compare out in || fail=1
 # buffer have precisely the same length (22 bytes here), yet internal
 # offsets do differ.  Lengths are the same because while some bytes shrink
 # when converted to lower case, others grow, and here they balance out.
-i='I\xC4\xB0'
+i='I\304\260'
 printf "$i$i$i$i$i$i$i\n" > in || framework_failure_
 LC_ALL=tr_TR.utf8 grep -i .... in > out || fail=1
 compare out in || fail=1

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


commit 37f7cd01040216c622fab84d3c6480774280e269
Author: Jim Meyering <address@hidden>
Date:   Thu Oct 24 11:21:03 2013 -0700

    tests: port more tests to bourne shells with hex-challenged printf
    
    * tests/pcre-utf8: Convert the hex \xHH literals for the euro symbol
    to octal \OOO.
    * tests/turkish-I: Likewise for "I with dot".
    * tests/turkish-I-without-dot: Likewise for another Turkish I: U+0131.

diff --git a/tests/pcre-utf8 b/tests/pcre-utf8
index 612b702..b8228d5 100755
--- a/tests/pcre-utf8
+++ b/tests/pcre-utf8
@@ -16,7 +16,7 @@ fail=0
 echo '$' | LC_ALL=en_US.UTF-8 grep -qP '\p{S}' \
   || skip_ 'PCRE support is compiled out, or it does not support properties'
 
-euro='\xe2\x82\xac euro'
+euro='\342\202\254 euro'
 printf "$euro\\n" > in || framework_failure_
 
 LC_ALL=en_US.UTF-8 grep -P '^\p{S}' in > out || fail=1
diff --git a/tests/turkish-I b/tests/turkish-I
index 2decc46..bb08553 100755
--- a/tests/turkish-I
+++ b/tests/turkish-I
@@ -23,7 +23,7 @@ require_compiled_in_MB_support
 
 fail=0
 
-i='\xC4\xB0'
+i='\304\260'
 printf "$i$i$i$i$i$i$i\n" > in || framework_failure_
 
 LC_ALL=en_US.UTF-8 grep -i .... in > out || fail=1
diff --git a/tests/turkish-I-without-dot b/tests/turkish-I-without-dot
index 2b4e9cc..daf0b75 100755
--- a/tests/turkish-I-without-dot
+++ b/tests/turkish-I-without-dot
@@ -47,7 +47,7 @@ compare out in || fail=1
 # buffer have precisely the same length (22 bytes here), yet internal
 # offsets do differ.  Lengths are the same because while some bytes shrink
 # when converted to lower case, others grow, and here they balance out.
-i='I\xC4\xB0'
+i='I\304\260'
 printf "$i$i$i$i$i$i$i\n" > in || framework_failure_
 LC_ALL=tr_TR.utf8 grep -i .... in > out || fail=1
 compare out in || fail=1

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

Summary of changes:
 src/main.c                  |   12 ++++++++----
 tests/pcre-utf8             |    2 +-
 tests/turkish-I             |    2 +-
 tests/turkish-I-without-dot |    2 +-
 4 files changed, 11 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

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