diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-09-16 10:26:50 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-09-16 10:26:50 +0000 |
commit | 16083badcddcbacbb9ec81f2d64e292b284fc155 (patch) | |
tree | c7acf55245094b912bd672d69c288d607e81b2cf | |
parent | d872d02782918d475a697b75912145f2434f55f5 (diff) | |
download | pcre-16083badcddcbacbb9ec81f2d64e292b284fc155.tar.gz |
Change group separator character in test 101 from / to | because / gets mangled
in the Msys shell.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1042 2f5784b3-3f2a-0410-8824-cb99058d5e15
-rwxr-xr-x | RunGrepTest | 2 | ||||
-rw-r--r-- | testdata/grepoutput | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/RunGrepTest b/RunGrepTest index 0c7c10f..94fd808 100755 --- a/RunGrepTest +++ b/RunGrepTest @@ -483,7 +483,7 @@ echo "---------------------------- Test 100 ------------------------------" >>te 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 diff --git a/testdata/grepoutput b/testdata/grepoutput index d6987f8..733b9d6 100644 --- a/testdata/grepoutput +++ b/testdata/grepoutput @@ -701,7 +701,7 @@ RC=0 ./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 |