Debian Codegraph @

gnulib-tests/test-c-strncasecmp.sh

raw
1 #!/bin/sh
2
3 # Test in the C locale.
4 ${CHECKER} ./test-c-strncasecmp${EXEEXT} || exit 1
5
6 # Test in an ISO-8859-1 or ISO-8859-15 locale.
7 : "${LOCALE_FR=fr_FR}"
8 if test $LOCALE_FR != none; then
9 LC_ALL=$LOCALE_FR ${CHECKER} ./test-c-strncasecmp${EXEEXT} locale || exit 1
10 fi
11
12 # Test in a Turkish UTF-8 locale.
13 : "${LOCALE_TR_UTF8=tr_TR.UTF-8}"
14 if test $LOCALE_TR_UTF8 != none; then
15 LC_ALL=$LOCALE_TR_UTF8 ${CHECKER} ./test-c-strncasecmp${EXEEXT} locale || exit 1
16 fi
17
18 exit 0