mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-04-28 06:33:36 +00:00
* tests/test-mcel-1.sh: New file, based on tests/test-mbrtowc-1.sh. * tests/test-mcel-2.sh: New file, based on tests/test-mbrtowc-2.sh. * tests/test-mcel-3.sh: New file, based on tests/test-mbrtowc-3.sh. * tests/test-mcel-4.sh: New file, based on tests/test-mbrtowc-4.sh. * tests/test-mcel-5.sh: New file, based on tests/test-mbrtowc-5.sh. * modules/mcel-tests (Files): Add them. Add tests/macros.h, m4/locale-fr.m4, m4/locale-ja.m4, m4/locale-zh.m4, m4/codeset.m4. (Depends-on): Remove assert-h. (configure.ac, Makefile.am): Essentially copy from modules/mbrtowc-tests.
16 lines
396 B
Bash
Executable File
16 lines
396 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-mcel${EXEEXT} 5
|