1#!/bin/sh 2 3# Test whether a french Unicode locale is installed. 4: ${LOCALE_FR_UTF8=fr_FR.UTF-8} 5if test $LOCALE_FR_UTF8 != none; then 6 testlocale=$LOCALE_FR_UTF8 7else 8 if test -f /usr/bin/localedef; then 9 echo "Skipping test: no french Unicode locale is installed" 10 else 11 echo "Skipping test: no french Unicode locale is supported" 12 fi 13 exit 77 14fi 15 16LC_ALL=$testlocale \ 17./test-u16-vasnprintf1${EXEEXT} \ 18 || exit 1 19 20LC_ALL=$testlocale \ 21./test-u16-vasnprintf3${EXEEXT} 22