[Pcre-svn] [1042] code/trunk: Change group separator charact…

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [1042] code/trunk: Change group separator character in test 101 from / to | because / gets mangled
Revision: 1042
          http://vcs.pcre.org/viewvc?view=rev&revision=1042
Author:   ph10
Date:     2012-09-16 11:26:50 +0100 (Sun, 16 Sep 2012)


Log Message:
-----------
Change group separator character in test 101 from / to | because / gets mangled
in the Msys shell.

Modified Paths:
--------------
    code/trunk/RunGrepTest
    code/trunk/testdata/grepoutput


Modified: code/trunk/RunGrepTest
===================================================================
--- code/trunk/RunGrepTest    2012-09-16 10:16:27 UTC (rev 1041)
+++ code/trunk/RunGrepTest    2012-09-16 10:26:50 UTC (rev 1042)
@@ -483,7 +483,7 @@
 echo "RC=$?" >>testtry


echo "---------------------------- Test 101 ------------------------------" >>testtry
-(cd $srcdir; $valgrind $pcregrep -o3 -Ho2 -o12 --only-matching=1 -o3 --colour=always --om-separator='/' '(\w+) binary (\w+)(\.)?' ./testdata/grepinput) >>testtry
+(cd $srcdir; $valgrind $pcregrep -o3 -Ho2 -o12 --only-matching=1 -o3 --colour=always --om-separator='|' '(\w+) binary (\w+)(\.)?' ./testdata/grepinput) >>testtry
echo "RC=$?" >>testtry



Modified: code/trunk/testdata/grepoutput
===================================================================
--- code/trunk/testdata/grepoutput    2012-09-16 10:16:27 UTC (rev 1041)
+++ code/trunk/testdata/grepoutput    2012-09-16 10:26:50 UTC (rev 1042)
@@ -701,7 +701,7 @@
 ./testdata/grepinput:zerothe.
 RC=0
 ---------------------------- Test 101 ------------------------------
-./testdata/grepinput:?[1;31m.?[00m/?[1;31mzero?[00m/?[1;31mthe?[00m/?[1;31m.?[00m
-./testdata/grepinput:?[1;31mzero?[00m/?[1;31ma?[00m
-./testdata/grepinput:?[1;31m.?[00m/?[1;31mzero?[00m/?[1;31mthe?[00m/?[1;31m.?[00m
+./testdata/grepinput:?[1;31m.?[00m|?[1;31mzero?[00m|?[1;31mthe?[00m|?[1;31m.?[00m
+./testdata/grepinput:?[1;31mzero?[00m|?[1;31ma?[00m
+./testdata/grepinput:?[1;31m.?[00m|?[1;31mzero?[00m|?[1;31mthe?[00m|?[1;31m.?[00m
 RC=0