From 5532e83f3887d45d125d7b1b8fc17c39eb14c149 Mon Sep 17 00:00:00 2001 From: ph10 Date: Wed, 5 Dec 2007 20:56:03 +0000 Subject: Add --line-offsets and --file-offsets to pcregrep. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@280 2f5784b3-3f2a-0410-8824-cb99058d5e15 --- RunGrepTest | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'RunGrepTest') diff --git a/RunGrepTest b/RunGrepTest index 0c6eda8..6f295b7 100755 --- a/RunGrepTest +++ b/RunGrepTest @@ -208,6 +208,12 @@ echo "---------------------------- Test 50 ------------------------------" >>tes echo "---------------------------- Test 51 ------------------------------" >>testtry (cd $srcdir; $valgrind $pcregrep --colour=always jumps ./testdata/grepinputv) >>testtry +echo "---------------------------- Test 52 ------------------------------" >>testtry +(cd $srcdir; $valgrind $pcregrep --file-offsets 'before|zero|after' ./testdata/grepinput) >>testtry + +echo "---------------------------- Test 53 ------------------------------" >>testtry +(cd $srcdir; $valgrind $pcregrep --line-offsets 'before|zero|after' ./testdata/grepinput) >>testtry + # Now compare the results. $cf $srcdir/testdata/grepoutput testtry -- cgit v1.2.1