mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-04-28 06:33:36 +00:00
* tests/test-mbrtowc*.sh: Renamed 1 -> 2 -> 3 -> 4 -> 5 -> 1. * tests/test-mbrtowc.c: Update. * tests/test-mbrtowc-w32-*.sh: Renamed 1 -> 2 -> 3 -> 5 -> 7 -> 4 -> 6 -> 8. * tests/test-mbrtowc-w32.c: Update. * modules/mbrtowc-tests: Update.
16 lines
399 B
Bash
Executable File
16 lines
399 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Test whether a specific GB18030 locale is installed.
|
|
: "${LOCALE_ZH_CN=zh_CN.GB18030}"
|
|
if test $LOCALE_ZH_CN = none; then
|
|
if test -f /usr/bin/localedef; then
|
|
echo "Skipping test: no transitional chinese locale is installed"
|
|
else
|
|
echo "Skipping test: no transitional chinese locale is supported"
|
|
fi
|
|
exit 77
|
|
fi
|
|
|
|
LC_ALL=$LOCALE_ZH_CN \
|
|
${CHECKER} ./test-mbrtowc${EXEEXT} 5
|