/[pcre]/code/trunk/RunGrepTest
ViewVC logotype

Diff of /code/trunk/RunGrepTest

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 564 by ph10, Sun Oct 31 16:07:24 2010 UTC revision 565 by ph10, Sun Oct 31 18:18:48 2010 UTC
# Line 307  echo "---------------------------- Test Line 307  echo "---------------------------- Test
307  (cd $srcdir; $valgrind $pcregrep --recursion-limit=1000 -M 'This is a file(.|\R)*file.' ./testdata/grepinput) >>testtry 2>&1  (cd $srcdir; $valgrind $pcregrep --recursion-limit=1000 -M 'This is a file(.|\R)*file.' ./testdata/grepinput) >>testtry 2>&1
308  echo "RC=$?" >>testtry  echo "RC=$?" >>testtry
309    
310    echo "---------------------------- Test 64 ------------------------------" >>testtry
311    (cd $srcdir; $valgrind $pcregrep -o1 '(?<=PAT)TERN (ap(pear)s)' ./testdata/grepinput) >>testtry
312    echo "RC=$?" >>testtry
313    
314    echo "---------------------------- Test 65 ------------------------------" >>testtry
315    (cd $srcdir; $valgrind $pcregrep -o2 '(?<=PAT)TERN (ap(pear)s)' ./testdata/grepinput) >>testtry
316    echo "RC=$?" >>testtry
317    
318    echo "---------------------------- Test 66 ------------------------------" >>testtry
319    (cd $srcdir; $valgrind $pcregrep -o3 '(?<=PAT)TERN (ap(pear)s)' ./testdata/grepinput) >>testtry
320    echo "RC=$?" >>testtry
321    
322    echo "---------------------------- Test 67 ------------------------------" >>testtry
323    (cd $srcdir; $valgrind $pcregrep -o12 '(?<=PAT)TERN (ap(pear)s)' ./testdata/grepinput) >>testtry
324    echo "RC=$?" >>testtry
325    
326    echo "---------------------------- Test 68 ------------------------------" >>testtry
327    (cd $srcdir; $valgrind $pcregrep --only-matching=2 '(?<=PAT)TERN (ap(pear)s)' ./testdata/grepinput) >>testtry
328    echo "RC=$?" >>testtry
329    
330  # Now compare the results.  # Now compare the results.
331    
332  $cf $srcdir/testdata/grepoutput testtry  $cf $srcdir/testdata/grepoutput testtry

Legend:
Removed from v.564  
changed lines
  Added in v.565

  ViewVC Help
Powered by ViewVC 1.1.5