3 # Test in an ISO-8859-1 or ISO-8859-15 locale.
5 if test $LOCALE_FR != none
; then
7 ${CHECKER} .
/test-c32rtomb
${EXEEXT} 1 \
11 # Test whether a specific UTF-8 locale is installed.
12 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
13 if test $LOCALE_FR_UTF8 != none
; then
14 LC_ALL
=$LOCALE_FR_UTF8 \
15 ${CHECKER} .
/test-c32rtomb
${EXEEXT} 2 \
19 # Test whether a specific EUC-JP locale is installed.
21 if test $LOCALE_JA != none
; then
23 ${CHECKER} .
/test-c32rtomb
${EXEEXT} 3 \
27 # Test whether a specific GB18030 locale is installed.
28 : ${LOCALE_ZH_CN=zh_CN.GB18030}
29 if test $LOCALE_ZH_CN != none
; then
30 LC_ALL
=$LOCALE_ZH_CN \
31 ${CHECKER} .
/test-c32rtomb
${EXEEXT} 4 \
35 # Test in the POSIX locale.
36 LC_ALL
=C
${CHECKER} .
/test-c32rtomb
${EXEEXT} 5 ||
exit 1
37 LC_ALL
=POSIX
${CHECKER} .
/test-c32rtomb
${EXEEXT} 5 ||
exit 1