Diff for /embedaddon/pcre/RunGrepTest between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 23:05:51 version 1.1.1.2, 2012/02/21 23:50:25
Line 9 Line 9
 LC_ALL=C  LC_ALL=C
 export LC_ALL  export LC_ALL
   
# Remove any non-default colouring that the caller may have set.# Remove any non-default colouring and aliases that the caller may have set.
   
 unset PCREGREP_COLOUR PCREGREP_COLOR  unset PCREGREP_COLOUR PCREGREP_COLOR
   unset cp ls mv rm
   
 # Set the program to be tested, and valgrind settings when requested.  # Set the program to be tested, and valgrind settings when requested.
   
Line 66  fi Line 67  fi
   
 # Check for the availability of UTF-8 support  # Check for the availability of UTF-8 support
   
./pcretest -C | ./pcregrep "No UTF-8 support" >/dev/null./pcretest -C utf >/dev/null
 utf8=$?  utf8=$?
   
 echo "---------------------------- Test 1 ------------------------------" >testtry  echo "---------------------------- Test 1 ------------------------------" >testtry
Line 454  pattern=`printf 'def\rjkl'` Line 455  pattern=`printf 'def\rjkl'`
 $valgrind $pcregrep -n --newline=cr -F "$pattern" testNinput >>testtry  $valgrind $pcregrep -n --newline=cr -F "$pattern" testNinput >>testtry
   
 printf "%c--------------------------- Test N4 ------------------------------\r\n" - >>testtry  printf "%c--------------------------- Test N4 ------------------------------\r\n" - >>testtry
pattern=`printf 'xxx\r\njkl'`$valgrind $pcregrep -n --newline=crlf -F -f $srcdir/testdata/greppatN4 testNinput >>testtry
$valgrind $pcregrep -n --newline=crlf -F "$pattern" testNinput >>testtry 
   
 printf "%c--------------------------- Test N5 ------------------------------\r\n" - >>testtry  printf "%c--------------------------- Test N5 ------------------------------\r\n" - >>testtry
 $valgrind $pcregrep -n --newline=any "^(abc|def|ghi|jkl)" testNinput >>testtry  $valgrind $pcregrep -n --newline=any "^(abc|def|ghi|jkl)" testNinput >>testtry

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>