gnulib-tests/test-mbsrtoc32s-4.sh
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | # Test whether a specific EUC-JP locale is installed. |
| 4 | : "${LOCALE_JA=ja_JP}" |
| 5 | if test $LOCALE_JA = none; then |
| 6 | if test -f /usr/bin/localedef; then |
| 7 | echo "Skipping test: no traditional japanese locale is installed" |
| 8 | else |
| 9 | echo "Skipping test: no traditional japanese locale is supported" |
| 10 | fi |
| 11 | exit 77 |
| 12 | fi |
| 13 | |
| 14 | LC_ALL=$LOCALE_JA \ |
| 15 | ${CHECKER} ./test-mbsrtoc32s${EXEEXT} 4 |