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

Diff of /code/trunk/RunGrepTest

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

revision 1029 by ph10, Fri Sep 7 09:50:59 2012 UTC revision 1039 by ph10, Thu Sep 13 16:39:03 2012 UTC
# Line 478  echo "grepinput8" >testtemp2 Line 478  echo "grepinput8" >testtemp2
478  (cd $srcdir; $valgrind $pcregrep -L -r --include grepinput --exclude-from $builddir/testtemp1 --exclude-from=$builddir/testtemp2 --exclude-dir='^\.' 'fox' ./testdata | sort) >>testtry  (cd $srcdir; $valgrind $pcregrep -L -r --include grepinput --exclude-from $builddir/testtemp1 --exclude-from=$builddir/testtemp2 --exclude-dir='^\.' 'fox' ./testdata | sort) >>testtry
479  echo "RC=$?" >>testtry  echo "RC=$?" >>testtry
480    
481    echo "---------------------------- Test 100 ------------------------------" >>testtry
482    (cd $srcdir; $valgrind $pcregrep -Ho2 --only-matching=1 -o3 '(\w+) binary (\w+)(\.)?' ./testdata/grepinput) >>testtry
483    echo "RC=$?" >>testtry
484    
485    echo "---------------------------- Test 101 ------------------------------" >>testtry
486    (cd $srcdir; $valgrind $pcregrep -o3 -Ho2 -o12 --only-matching=1 -o3 --colour=always --om-separator='/' '(\w+) binary (\w+)(\.)?' ./testdata/grepinput) >>testtry
487    echo "RC=$?" >>testtry
488    
489    
490  # Now compare the results.  # Now compare the results.
491    
492  $cf $srcdir/testdata/grepoutput testtry  $cf $srcdir/testdata/grepoutput testtry

Legend:
Removed from v.1029  
changed lines
  Added in v.1039

  ViewVC Help
Powered by ViewVC 1.1.5