--- code/trunk/RunGrepTest.in 2007/02/24 21:41:21 87 +++ code/trunk/RunGrepTest.in 2007/02/24 21:41:34 91 @@ -184,6 +184,22 @@ $valgrind ./pcregrep -F -e DATA -e "AB.VE elephant" $testdata/grepinput >>testtry +echo "---------------------------- Test 49 ------------------------------" >>testtry +$valgrind ./pcregrep "^(abc|def|ghi|jkl)" $testdata/grepinputx >>testtry + +echo "---------------------------- Test 50 ------------------------------" >>testtry +$valgrind ./pcregrep -N CR "^(abc|def|ghi|jkl)" $testdata/grepinputx >>testtry + +echo "---------------------------- Test 51 ------------------------------" >>testtry +$valgrind ./pcregrep --newline=crlf "^(abc|def|ghi|jkl)" $testdata/grepinputx >>testtry + +echo "---------------------------- Test 52 ------------------------------" >>testtry +$valgrind ./pcregrep --newline=cr -F "def jkl" $testdata/grepinputx >>testtry + +echo "---------------------------- Test 53 ------------------------------" >>testtry +$valgrind ./pcregrep --newline=crlf -F "xxx +jkl" $testdata/grepinputx >>testtry + # Now compare the results. $cf testtry $testdata/grepoutput