1 2 3 4 5 6
#!/bin/sh # Test whether the POSIX locale has encoding errors. LC_ALL=C \ ${CHECKER} ./test-mbrtowc${EXEEXT} 5 || exit LC_ALL=POSIX \ ${CHECKER} ./test-mbrtowc${EXEEXT} 5