1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-04-28 06:33:36 +00:00
Files
gnulib/tests/test-mbrtowc-5.sh
Bruno Haible 8937616375 mbrtowc tests: Renumber tests.
* 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.
2023-07-30 01:41:18 +02:00

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