/[pcre]/code/tags/pcre-8.01/RunGrepTest
ViewVC logotype

Diff of /code/tags/pcre-8.01/RunGrepTest

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

revision 148 by ph10, Fri Mar 30 15:55:18 2007 UTC revision 149 by ph10, Mon Apr 16 15:28:08 2007 UTC
# Line 242  echo "---------------------------- Test Line 242  echo "---------------------------- Test
242  pattern=`printf 'def\rjkl'`  pattern=`printf 'def\rjkl'`
243  (cd $srcdir; $valgrind $pcregrep --newline=cr -F "$pattern" ./testdata/grepinputx) >>testtry  (cd $srcdir; $valgrind $pcregrep --newline=cr -F "$pattern" ./testdata/grepinputx) >>testtry
244    
245  echo "---------------------------- Test n$ ------------------------------" >>testtry  echo "---------------------------- Test N4 ------------------------------" >>testtry
246  pattern=`printf 'xxx\r\njkl'`  pattern=`printf 'xxx\r\njkl'`
247  (cd $srcdir; $valgrind $pcregrep --newline=crlf -F "$pattern" ./testdata/grepinputx) >>testtry  (cd $srcdir; $valgrind $pcregrep --newline=crlf -F "$pattern" ./testdata/grepinputx) >>testtry
248    
249  echo "---------------------------- Test N5 ------------------------------" >>testtry  echo "---------------------------- Test N5 ------------------------------" >>testtry
250  (cd $srcdir; $valgrind $pcregrep -n --newline=any "^(abc|def|ghi|jkl)" ./testdata/grepinputx) >>testtry  (cd $srcdir; $valgrind $pcregrep -n --newline=any "^(abc|def|ghi|jkl)" ./testdata/grepinputx) >>testtry
251    
252    echo "---------------------------- Test N6 ------------------------------" >>testtry
253    (cd $srcdir; $valgrind $pcregrep -n --newline=anycrlf "^(abc|def|ghi|jkl)" ./testdata/grepinputx) >>testtry
254    
255  $cf testtry $srcdir/testdata/grepoutputN  $cf testtry $srcdir/testdata/grepoutputN
256  if [ $? != 0 ] ; then exit 1; fi  if [ $? != 0 ] ; then exit 1; fi
257    

Legend:
Removed from v.148  
changed lines
  Added in v.149

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12