openat: don’t close (-1)
[gnulib.git] / tests / test-mbrtoc16-4.sh
blob826feb5c1e5d20a1c38e23d553db1e4f8931ac01
1 #!/bin/sh
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"
11 exit 77
14 LC_ALL=$LOCALE_JA \
15 ${CHECKER} ./test-mbrtoc16${EXEEXT} 4