grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v2.21-6-g11e53e8


From: Paul Eggert
Subject: grep branch, master, updated. v2.21-6-g11e53e8
Date: Mon, 08 Dec 2014 02:13:48 +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  11e53e804fda824dbb04c131c319d24d7b1954f7 (commit)
      from  80a28172c1e8e17210ccbb9f3e366a828b9247c8 (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=11e53e804fda824dbb04c131c319d24d7b1954f7


commit 11e53e804fda824dbb04c131c319d24d7b1954f7
Author: Paul Eggert <address@hidden>
Date:   Sun Dec 7 18:12:53 2014 -0800

    tests: port fmbtest to CentOS 6 and earlier
    
    * tests/fmbtest: Port to platforms where the 'sed' pattern
    '[^0-9]' does not match every non-digit character.  Problem
    reported by Norihiro Tanaka in: http://bugs.gnu.org/19293

diff --git a/tests/fmbtest b/tests/fmbtest
index bfaf607..c4f8c88 100755
--- a/tests/fmbtest
+++ b/tests/fmbtest
@@ -53,21 +53,24 @@ EOF
 for mode in F G E; do
 
 test1=$(echo $(LC_ALL=$cz; export LC_ALL
-               grep -${mode} -f cspatfile csinput | sed 's/[^0-9]/ /g'))
+               grep -${mode} -f cspatfile csinput |
+                 sed 's/[^0123456789]/ /g'))
 if test "$test1" != "11 12 13 14 15 16 17 18"; then
   echo "Test #1 ${mode} failed: $test1"
   failures=1
 fi
 
 test2=$(echo $(LC_ALL=$cz; export LC_ALL
-               grep -${mode}i -f cspatfile csinput | sed 's/[^0-9]/ /g'))
+               grep -${mode}i -f cspatfile csinput |
+                 sed 's/[^0123456789]/ /g'))
 if test "$test2" != "01 02 07 08 10 11 12 13 14 15 16 17 18 19 20"; then
   echo "Test #2 ${mode} failed: $test2"
   failures=1
 fi
 
 test3=$(echo $(LC_ALL=$cz; export LC_ALL
-               grep -${mode}i -e 'ČÍšE' -e 'Čas' csinput | sed 's/[^0-9]/ 
/g'))
+               grep -${mode}i -e 'ČÍšE' -e 'Čas' csinput |
+                 sed 's/[^0123456789]/ /g'))
 if test "$test3" != "01 02 07 08 10 11 12 13 14 15 16 17 18 19 20"; then
   echo "Test #3 ${mode} failed: $test3"
   failures=1
@@ -75,7 +78,8 @@ fi
 
 # Skip the next test - known to fail. TAA.
 #test4=$(echo $(LC_ALL=$cz; export LC_ALL
-#               grep -${mode}iw -f cspatfile csinput | sed 's/[^0-9]/ /g'))
+#               grep -${mode}iw -f cspatfile csinput |
+#                 sed 's/[^0123456789]/ /g'))
 #if test "$test4" != "01 02 08 13 17 19"; then
 #  echo "Test #4 ${mode} failed: $test4"
 #  failures=1
@@ -115,7 +119,7 @@ for mode in G E; do
 
 test8=$(echo $(LC_ALL=$cz; export LC_ALL
                grep -${mode}i -e 'Č.šE' -e 'Č[a-f]s' csinput |
-                 sed 's/[^0-9]/ /g'))
+                 sed 's/[^0123456789]/ /g'))
 if test "$test8" != "01 02 07 08 10 11 12 13 14 15 16 17 18 19 20"; then
   echo "Test #8 ${mode} failed: $test8"
   failures=1

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

Summary of changes:
 tests/fmbtest |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

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