summaryrefslogtreecommitdiff
path: root/RunGrepTest
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2013-08-05 16:24:02 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2013-08-05 16:24:02 +0000
commit590e0c8cf9170992e6c71eba22307e14424792e0 (patch)
tree694522d6cf4776d0b0bf9a45cabf39e9b7f8ebcb /RunGrepTest
parentf7636a734871b6e44eddd61b38a5d518a4188b54 (diff)
downloadpcre-590e0c8cf9170992e6c71eba22307e14424792e0.tar.gz
Fix pcregrep looping bug for multiline empty string match.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1353 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'RunGrepTest')
-rwxr-xr-xRunGrepTest4
1 files changed, 4 insertions, 0 deletions
diff --git a/RunGrepTest b/RunGrepTest
index daaf8af..e192ed7 100755
--- a/RunGrepTest
+++ b/RunGrepTest
@@ -502,6 +502,10 @@ echo "---------------------------- Test 105 -----------------------------" >>tes
(cd $srcdir; $valgrind $pcregrep --colour=always "ipsum|" ./testdata/grepinput3) >>testtry 2>&1
echo "RC=$?" >>testtry
+echo "---------------------------- Test 106 -----------------------------" >>testtry
+(cd $srcdir; echo "a" | $valgrind $pcregrep -M "|a" ) >>testtry 2>&1
+echo "RC=$?" >>testtry
+
# Now compare the results.