diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-02-28 16:49:21 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-02-28 16:49:21 +0000 |
commit | d2d6efa3e301f1003e89eed13825a3261892a3f7 (patch) | |
tree | ba6bf32c3cdc32823a8b9999f0d8550b07e791ad /RunGrepTest | |
parent | 5853ad42b1b6b27e14b3dafdb2e9f69655ce756d (diff) | |
download | pcre-d2d6efa3e301f1003e89eed13825a3261892a3f7.tar.gz |
Added --file-list to pcregrep.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@944 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 fecc06e..4fa5ed3 100755 --- a/RunGrepTest +++ b/RunGrepTest @@ -407,6 +407,14 @@ echo "---------------------------- Test 83 -----------------------------" >>test (cd $srcdir; $valgrind $pcregrep --buffer-size=100 "^a" ./testdata/grepinput3) >>testtry 2>&1 echo "RC=$?" >>testtry +echo "---------------------------- Test 84 -----------------------------" >>testtry +(cd $srcdir; $valgrind $pcregrep --file-list ./testdata/grepfilelist "fox|complete") >>testtry 2>&1 +echo "RC=$?" >>testtry + +echo "---------------------------- Test 85 -----------------------------" >>testtry +(cd $srcdir; $valgrind $pcregrep --file-list=./testdata/grepfilelist "dolor" ./testdata/grepinput3) >>testtry 2>&1 +echo "RC=$?" >>testtry + # Now compare the results. $cf $srcdir/testdata/grepoutput testtry |