diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2015-08-05 17:43:19 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2015-08-05 17:43:19 +0000 |
commit | 8dda766e48f3bd16df6d8af870e9df4551b6216d (patch) | |
tree | a53c4fb5ddb0bb640c362406fad02549753decbc /RunGrepTest | |
parent | 7af8e8717def179fd7b69e173abd347c1a3547cb (diff) | |
download | pcre-8dda766e48f3bd16df6d8af870e9df4551b6216d.tar.gz |
Make pcregrep -q override -l and -c for compatibility with other greps.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1586 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'RunGrepTest')
-rwxr-xr-x | RunGrepTest | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/RunGrepTest b/RunGrepTest index 62e2a9b..a6e93d3 100755 --- a/RunGrepTest +++ b/RunGrepTest @@ -512,6 +512,14 @@ echo "aaaaa" >>testtemp1grep (cd $srcdir; $valgrind $pcregrep --line-offsets '(?<=\Ka)' $builddir/testtemp1grep) >>testtrygrep 2>&1 echo "RC=$?" >>testtrygrep +echo "---------------------------- Test 108 ------------------------------" >>testtrygrep +(cd $srcdir; $valgrind $pcregrep -lq PATTERN ./testdata/grepinput ./testdata/grepinputx) >>testtrygrep +echo "RC=$?" >>testtrygrep + +echo "---------------------------- Test 109 -----------------------------" >>testtrygrep +(cd $srcdir; $valgrind $pcregrep -cq lazy ./testdata/grepinput*) >>testtrygrep +echo "RC=$?" >>testtrygrep + # Now compare the results. $cf $srcdir/testdata/grepoutput testtrygrep |