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

Diff of /code/trunk/RunGrepTest

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

revision 947 by ph10, Sun Mar 4 16:51:13 2012 UTC revision 1003 by ph10, Wed Aug 15 16:45:36 2012 UTC
# Line 119  echo "---------------------------- Test Line 119  echo "---------------------------- Test
119  echo "RC=$?" >>testtry  echo "RC=$?" >>testtry
120    
121  echo "---------------------------- Test 13 -----------------------------" >>testtry  echo "---------------------------- Test 13 -----------------------------" >>testtry
122  (cd $srcdir; $valgrind $pcregrep -f./testdata/greplist ./testdata/grepinputx) >>testtry  echo seventeen >testtemp1
123    (cd $srcdir; $valgrind $pcregrep -f./testdata/greplist -f testtemp1 ./testdata/grepinputx) >>testtry
124  echo "RC=$?" >>testtry  echo "RC=$?" >>testtry
125    
126  echo "---------------------------- Test 14 -----------------------------" >>testtry  echo "---------------------------- Test 14 -----------------------------" >>testtry
# Line 207  echo "---------------------------- Test Line 208  echo "---------------------------- Test
208  echo "RC=$?" >>testtry  echo "RC=$?" >>testtry
209    
210  echo "---------------------------- Test 35 -----------------------------" >>testtry  echo "---------------------------- Test 35 -----------------------------" >>testtry
211  (cd $srcdir; $valgrind $pcregrep -L -r --include=grepinputx --exclude-dir='^\.' 'fox' ./testdata) >>testtry  (cd $srcdir; $valgrind $pcregrep -L -r --include=grepinputx --include grepinput8 --exclude-dir='^\.' 'fox' ./testdata) >>testtry
212  echo "RC=$?" >>testtry  echo "RC=$?" >>testtry
213    
214  echo "---------------------------- Test 36 -----------------------------" >>testtry  echo "---------------------------- Test 36 -----------------------------" >>testtry
215  (cd $srcdir; $valgrind $pcregrep -L -r --include=grepinput --exclude 'grepinput$' --exclude_dir='^\.' 'fox' ./testdata | sort) >>testtry  (cd $srcdir; $valgrind $pcregrep -L -r --include=grepinput --exclude 'grepinput$' --exclude=grepinput8 --exclude-dir='^\.' 'fox' ./testdata | sort) >>testtry
216  echo "RC=$?" >>testtry  echo "RC=$?" >>testtry
217    
218  echo "---------------------------- Test 37 -----------------------------" >>testtry  echo "---------------------------- Test 37 -----------------------------" >>testtry
# Line 408  echo "---------------------------- Test Line 409  echo "---------------------------- Test
409  echo "RC=$?" >>testtry  echo "RC=$?" >>testtry
410    
411  echo "---------------------------- Test 84 -----------------------------" >>testtry  echo "---------------------------- Test 84 -----------------------------" >>testtry
412  (cd $srcdir; $valgrind $pcregrep --file-list ./testdata/grepfilelist "fox|complete") >>testtry 2>&1  echo testdata/grepinput3 >testtemp1
413    (cd $srcdir; $valgrind $pcregrep --file-list ./testdata/grepfilelist --file-list testtemp1 "fox|complete|t7") >>testtry 2>&1
414  echo "RC=$?" >>testtry  echo "RC=$?" >>testtry
415    
416  echo "---------------------------- Test 85 -----------------------------" >>testtry  echo "---------------------------- Test 85 -----------------------------" >>testtry
# Line 447  echo "---------------------------- Test Line 449  echo "---------------------------- Test
449  (cd $srcdir; $valgrind $pcregrep --text "dog" ./testdata/grepbinary) >>testtry 2>&1  (cd $srcdir; $valgrind $pcregrep --text "dog" ./testdata/grepbinary) >>testtry 2>&1
450  echo "RC=$?" >>testtry  echo "RC=$?" >>testtry
451    
452    echo "---------------------------- Test 94 -----------------------------" >>testtry
453    (cd $srcdir; $valgrind $pcregrep -L -r --include=grepinputx --include grepinput8 'fox' ./testdata/grepinput*) >>testtry
454    echo "RC=$?" >>testtry
455    
456    echo "---------------------------- Test 95 -----------------------------" >>testtry
457    (cd $srcdir; $valgrind $pcregrep --file-list ./testdata/grepfilelist --exclude grepinputv "fox|complete") >>testtry 2>&1
458    echo "RC=$?" >>testtry
459    
460    echo "---------------------------- Test 96 -----------------------------" >>testtry
461    (cd $srcdir; $valgrind $pcregrep -L -r --include-dir=testdata --exclude '^(?!grepinput)' 'fox' ./test*) >>testtry
462    echo "RC=$?" >>testtry
463    
464    echo "---------------------------- Test 97 -----------------------------" >>testtry
465    echo "grepinput$" >testtemp1
466    echo "grepinput8" >>testtemp1
467    (cd $srcdir; $valgrind $pcregrep -L -r --include=grepinput --exclude-from testtemp1 --exclude-dir='^\.' 'fox' ./testdata | sort) >>testtry
468    echo "RC=$?" >>testtry
469    
470    echo "---------------------------- Test 98 -----------------------------" >>testtry
471    echo "grepinput$" >testtemp1
472    echo "grepinput8" >>testtemp1
473    (cd $srcdir; $valgrind $pcregrep -L -r --exclude=grepinput3 --include=grepinput --exclude-from testtemp1 --exclude-dir='^\.' 'fox' ./testdata | sort) >>testtry
474    echo "RC=$?" >>testtry
475    
476    echo "---------------------------- Test 99 -----------------------------" >>testtry
477    echo "grepinput$" >testtemp1
478    echo "grepinput8" >testtemp2
479    (cd $srcdir; $valgrind $pcregrep -L -r --include grepinput --exclude-from testtemp1 --exclude-from=testtemp2 --exclude-dir='^\.' 'fox' ./testdata | sort) >>testtry
480    echo "RC=$?" >>testtry
481    
482  # Now compare the results.  # Now compare the results.
483    
484  $cf $srcdir/testdata/grepoutput testtry  $cf $srcdir/testdata/grepoutput testtry

Legend:
Removed from v.947  
changed lines
  Added in v.1003

  ViewVC Help
Powered by ViewVC 1.1.5