summaryrefslogtreecommitdiff
path: root/tests/test-btowc3.sh
blob: ee9e143c1c504d6893aa4b9738d7d89cc91b2d9f (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# Test whether the POSIX locale has encoding errors.
LC_ALL=C \
${CHECKER} ./test-btowc${EXEEXT} 3 || exit 1
LC_ALL=POSIX \
${CHECKER} ./test-btowc${EXEEXT} 3 || exit 1

exit 0