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

Diff of /code/trunk/RunGrepTest

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

revision 837 by ph10, Thu Dec 29 17:25:26 2011 UTC revision 842 by ph10, Sat Dec 31 15:19:04 2011 UTC
# Line 9  Line 9 
9  LC_ALL=C  LC_ALL=C
10  export LC_ALL  export LC_ALL
11    
12  # Remove any non-default colouring that the caller may have set.  # Remove any non-default colouring and aliases that the caller may have set.
13    
14  unset PCREGREP_COLOUR PCREGREP_COLOR  unset PCREGREP_COLOUR PCREGREP_COLOR
15    unset cp ls mv rm
16    
17  # Set the program to be tested, and valgrind settings when requested.  # Set the program to be tested, and valgrind settings when requested.
18    
# Line 454  pattern=`printf 'def\rjkl'` Line 455  pattern=`printf 'def\rjkl'`
455  $valgrind $pcregrep -n --newline=cr -F "$pattern" testNinput >>testtry  $valgrind $pcregrep -n --newline=cr -F "$pattern" testNinput >>testtry
456    
457  printf "%c--------------------------- Test N4 ------------------------------\r\n" - >>testtry  printf "%c--------------------------- Test N4 ------------------------------\r\n" - >>testtry
458  $valgrind $pcregrep -n --newline=crlf -F -f testdata/greppatN4 testNinput >>testtry  $valgrind $pcregrep -n --newline=crlf -F -f $srcdir/testdata/greppatN4 testNinput >>testtry
459    
460  printf "%c--------------------------- Test N5 ------------------------------\r\n" - >>testtry  printf "%c--------------------------- Test N5 ------------------------------\r\n" - >>testtry
461  $valgrind $pcregrep -n --newline=any "^(abc|def|ghi|jkl)" testNinput >>testtry  $valgrind $pcregrep -n --newline=any "^(abc|def|ghi|jkl)" testNinput >>testtry

Legend:
Removed from v.837  
changed lines
  Added in v.842

  ViewVC Help
Powered by ViewVC 1.1.5