diff options
Diffstat (limited to 'RunTest.in')
-rwxr-xr-x | RunTest.in | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -48,6 +48,10 @@ if [ $do1 = no -a $do2 = no -a $do3 = no -a $do4 = no -a\ if [ "@UTF8@" != "" ] ; then do5=yes; fi fi +# Show which release + +./pcretest /dev/null + # Primary test, Perl-compatible if [ $do1 = yes ] ; then @@ -79,12 +83,12 @@ if [ $do1 = yes -a $do2 = yes ] ; then echo " " fi -# Locale-specific tests, provided the "fr" locale is available +# Locale-specific tests, provided the "fr_FR" locale is available if [ $do3 = yes ] ; then - locale -a | grep '^fr$' >/dev/null + locale -a | grep '^fr_FR$' >/dev/null if [ $? -eq 0 ] ; then - echo "Testing locale-specific features (using 'fr' locale)" + echo "Testing locale-specific features (using 'fr_FR' locale)" ./pcretest $testdata/testinput3 testtry if [ $? = 0 ] ; then $cf testtry $testdata/testoutput3 @@ -100,7 +104,7 @@ if [ $do3 = yes ] ; then else exit 1 fi else - echo "Cannot test locale-specific features - 'fr' locale not found," + echo "Cannot test locale-specific features - 'fr_FR' locale not found," echo "or the \"locale\" command is not available to check for it." echo " " fi |