Hash :
8145ea17
Author :
Date :
2020-01-04T16:03:10
mbsrtoc32s: Add tests. * tests/test-mbsrtoc32s.c: New file, based on tests/test-mbsrtowcs.c. * tests/test-mbsrtoc32s-1.sh: New file, based on tests/test-mbsrtowcs1.sh. * tests/test-mbsrtoc32s-2.sh: New file, based on tests/test-mbsrtowcs2.sh. * tests/test-mbsrtoc32s-3.sh: New file, based on tests/test-mbsrtowcs3.sh. * tests/test-mbsrtoc32s-4.sh: New file, based on tests/test-mbsrtowcs4.sh. * modules/mbsrtoc32s-tests: New file, based on modules/mbsrtowcs-tests.
#!/bin/sh
# Test whether a specific EUC-JP locale is installed.
: ${LOCALE_JA=ja_JP}
if test $LOCALE_JA = none; then
if test -f /usr/bin/localedef; then
echo "Skipping test: no traditional japanese locale is installed"
else
echo "Skipping test: no traditional japanese locale is supported"
fi
exit 77
fi
LC_ALL=$LOCALE_JA \
${CHECKER} ./test-mbsrtoc32s${EXEEXT} 3