Add test case from a recent glibc bug.
[gnulib.git] / tests / test-c-snprintf.sh
blob83051fc5d0dc015eaa2517fd65e4f13803c3c490
1 #!/bin/sh
3 # Test in an ISO-8859-1 or ISO-8859-15 locale.
4 : ${LOCALE_FR=fr_FR}
5 if test $LOCALE_FR = none; then
6 if test -f /usr/bin/localedef; then
7 echo "Skipping test: no traditional french locale is installed"
8 else
9 echo "Skipping test: no traditional french locale is supported"
11 exit 77
14 LC_ALL=$LOCALE_FR \
15 ./test-c-snprintf${EXEEXT} 1