/[pcre]/code/trunk/RunTest.in
ViewVC logotype

Diff of /code/trunk/RunTest.in

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

revision 63 by nigel, Sat Feb 24 21:40:03 2007 UTC revision 73 by nigel, Sat Feb 24 21:40:30 2007 UTC
# Line 48  if [ $do1 = no -a $do2 = no -a $do3 = no Line 48  if [ $do1 = no -a $do2 = no -a $do3 = no
48    if [ "@UTF8@" != "" ] ; then do5=yes; fi    if [ "@UTF8@" != "" ] ; then do5=yes; fi
49  fi  fi
50    
51    # Show which release
52    
53    ./pcretest /dev/null
54    
55  # Primary test, Perl-compatible  # Primary test, Perl-compatible
56    
57  if [ $do1 = yes ] ; then  if [ $do1 = yes ] ; then
# Line 79  if [ $do1 = yes -a $do2 = yes ] ; then Line 83  if [ $do1 = yes -a $do2 = yes ] ; then
83    echo " "    echo " "
84  fi  fi
85    
86  # Locale-specific tests, provided the "fr" locale is available  # Locale-specific tests, provided the "fr_FR" locale is available
87    
88  if [ $do3 = yes ] ; then  if [ $do3 = yes ] ; then
89    locale -a | grep '^fr$' >/dev/null    locale -a | grep '^fr_FR$' >/dev/null
90    if [ $? -eq 0 ] ; then    if [ $? -eq 0 ] ; then
91      echo "Testing locale-specific features (using 'fr' locale)"      echo "Testing locale-specific features (using 'fr_FR' locale)"
92      ./pcretest $testdata/testinput3 testtry      ./pcretest $testdata/testinput3 testtry
93      if [ $? = 0 ] ; then      if [ $? = 0 ] ; then
94        $cf testtry $testdata/testoutput3        $cf testtry $testdata/testoutput3
# Line 100  if [ $do3 = yes ] ; then Line 104  if [ $do3 = yes ] ; then
104      else exit 1      else exit 1
105      fi      fi
106    else    else
107      echo "Cannot test locale-specific features - 'fr' locale not found,"      echo "Cannot test locale-specific features - 'fr_FR' locale not found,"
108      echo "or the \"locale\" command is not available to check for it."      echo "or the \"locale\" command is not available to check for it."
109      echo " "      echo " "
110    fi    fi

Legend:
Removed from v.63  
changed lines
  Added in v.73

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12