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

Diff of /code/trunk/RunGrepTest

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

revision 1013 by ph10, Sat Aug 25 16:50:00 2012 UTC revision 1016 by ph10, Sun Aug 26 16:17:55 2012 UTC
# Line 40  $pcregrep -V Line 40  $pcregrep -V
40  # that lacks a -u option. Try to deal with this; better do the test for the -b  # that lacks a -u option. Try to deal with this; better do the test for the -b
41  # option as well.  # option as well.
42    
43  cf="diff -ub"  cf="diff"
44  if diff -u /dev/null /dev/null; then  diff -b  /dev/null /dev/null 2>/dev/null && cf="diff -b"
45    if diff -ub /dev/null /dev/null; then cf="diff -ub"; else cf="diff -u"; fi  diff -u  /dev/null /dev/null 2>/dev/null && cf="diff -u"
46  else  diff -ub /dev/null /dev/null 2>/dev/null && cf="diff -ub"
   if diff -b /dev/null /dev/null; then cf="diff -b"; else cf="diff"; fi  
 fi  
47    
48  # If PCRE has been built in a directory other than the source directory, and  # If PCRE has been built in a directory other than the source directory, and
49  # this test is being run from "make check" as usual, then $srcdir will be  # this test is being run from "make check" as usual, then $srcdir will be

Legend:
Removed from v.1013  
changed lines
  Added in v.1016

  ViewVC Help
Powered by ViewVC 1.1.5