summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-09-16 10:26:50 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2012-09-16 10:26:50 +0000
commit16083badcddcbacbb9ec81f2d64e292b284fc155 (patch)
treec7acf55245094b912bd672d69c288d607e81b2cf
parentd872d02782918d475a697b75912145f2434f55f5 (diff)
downloadpcre-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-xRunGrepTest2
-rw-r--r--testdata/grepoutput6
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:./zero/the/.
-./testdata/grepinput:zero/a
-./testdata/grepinput:./zero/the/.
+./testdata/grepinput:.|zero|the|.
+./testdata/grepinput:zero|a
+./testdata/grepinput:.|zero|the|.
RC=0