3 # Test in the POSIX locale.
4 LC_ALL
=C
${CHECKER} .
/test-c32isprint
${EXEEXT} 0 ||
exit 1
5 LC_ALL
=POSIX
${CHECKER} .
/test-c32isprint
${EXEEXT} 0 ||
exit 1
7 # Test in an ISO-8859-1 or ISO-8859-15 locale.
9 if test $LOCALE_FR != none
; then
11 ${CHECKER} .
/test-c32isprint
${EXEEXT} 1 \
15 # Test whether a specific EUC-JP locale is installed.
16 : "${LOCALE_JA=ja_JP}"
17 if test $LOCALE_JA != none
; then
19 ${CHECKER} .
/test-c32isprint
${EXEEXT} 2 \
23 # Test whether a specific UTF-8 locale is installed.
24 : "${LOCALE_EN_UTF8=en_US.UTF-8}"
25 : "${LOCALE_FR_UTF8=fr_FR.UTF-8}"
26 if test "$LOCALE_EN_UTF8" != none ||
test $LOCALE_FR_UTF8 != none
; then
27 # It's sufficient to test in one of the two locales.
28 if test $LOCALE_FR_UTF8 != none
; then
29 testlocale
=$LOCALE_FR_UTF8
31 testlocale
="$LOCALE_EN_UTF8"
33 LC_ALL
="$testlocale" \
34 ${CHECKER} .
/test-c32isprint
${EXEEXT} 3 \
38 # Test whether a specific GB18030 locale is installed.
39 : "${LOCALE_ZH_CN=zh_CN.GB18030}"
40 if test $LOCALE_ZH_CN != none
; then
41 LC_ALL
=$LOCALE_ZH_CN \
42 ${CHECKER} .
/test-c32isprint
${EXEEXT} 4