openat: don’t close (-1)
[gnulib.git] / tests / test-mbsnrtowcs-1.sh
blobe0850dd60a0b13cf34375c2f1768b24beeec0d3f
1 #!/bin/sh
3 # Test whether the POSIX locale has encoding errors.
4 LC_ALL=C \
5 ${CHECKER} ./test-mbsnrtowcs${EXEEXT} 1 || exit 1
6 LC_ALL=POSIX \
7 ${CHECKER} ./test-mbsnrtowcs${EXEEXT} 1 || exit 1
9 exit 0