summaryrefslogtreecommitdiff
path: root/RunGrepTest
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2007-04-16 15:28:08 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2007-04-16 15:28:08 +0000
commit99c49a95b9892e71ec8cd69cd1bcb3a96964ba15 (patch)
tree5b2b9bf5d6fb86e4d3851650956920f7557632d8 /RunGrepTest
parent88e1c64afcd55068b44b441995139eb18c36bb01 (diff)
downloadpcre-99c49a95b9892e71ec8cd69cd1bcb3a96964ba15.tar.gz
Add PCRE_NEWLINE_ANYCRLF.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@149 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'RunGrepTest')
-rwxr-xr-xRunGrepTest5
1 files changed, 4 insertions, 1 deletions
diff --git a/RunGrepTest b/RunGrepTest
index 5f73798..0996e68 100755
--- a/RunGrepTest
+++ b/RunGrepTest
@@ -242,13 +242,16 @@ echo "---------------------------- Test N3 ------------------------------" >>tes
pattern=`printf 'def\rjkl'`
(cd $srcdir; $valgrind $pcregrep --newline=cr -F "$pattern" ./testdata/grepinputx) >>testtry
-echo "---------------------------- Test n$ ------------------------------" >>testtry
+echo "---------------------------- Test N4 ------------------------------" >>testtry
pattern=`printf 'xxx\r\njkl'`
(cd $srcdir; $valgrind $pcregrep --newline=crlf -F "$pattern" ./testdata/grepinputx) >>testtry
echo "---------------------------- Test N5 ------------------------------" >>testtry
(cd $srcdir; $valgrind $pcregrep -n --newline=any "^(abc|def|ghi|jkl)" ./testdata/grepinputx) >>testtry
+echo "---------------------------- Test N6 ------------------------------" >>testtry
+(cd $srcdir; $valgrind $pcregrep -n --newline=anycrlf "^(abc|def|ghi|jkl)" ./testdata/grepinputx) >>testtry
+
$cf testtry $srcdir/testdata/grepoutputN
if [ $? != 0 ] ; then exit 1; fi