summaryrefslogtreecommitdiff
path: root/RunGrepTest
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2009-03-01 14:13:34 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2009-03-01 14:13:34 +0000
commit3893b93c01b7deb23b0d566224c595de0cc27188 (patch)
treeeaa5197f11b069f18dd532bbedab4f9abbce8351 /RunGrepTest
parentf9a90bcfbc382a5fd60767e213650f49dc9bcdcf (diff)
downloadpcre-3893b93c01b7deb23b0d566224c595de0cc27188.tar.gz
Make pcregrep with --colour show all matches in a line in colour.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@378 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'RunGrepTest')
-rwxr-xr-xRunGrepTest3
1 files changed, 3 insertions, 0 deletions
diff --git a/RunGrepTest b/RunGrepTest
index 2d87541..ed28ee3 100755
--- a/RunGrepTest
+++ b/RunGrepTest
@@ -214,6 +214,9 @@ echo "---------------------------- Test 52 ------------------------------" >>tes
echo "---------------------------- Test 53 ------------------------------" >>testtry
(cd $srcdir; $valgrind $pcregrep --line-offsets 'before|zero|after' ./testdata/grepinput) >>testtry
+echo "---------------------------- Test 54 -----------------------------" >>testtry
+(cd $srcdir; $valgrind $pcregrep -f./testdata/greplist --color=always ./testdata/grepinputx) >>testtry
+
# Now compare the results.
$cf $srcdir/testdata/grepoutput testtry