expl: Work around inaccurate implementation on NetBSD.
[gnulib.git] / tests / test-vasnprintf-posix2.sh
blob5ee5b4751c3ccf85ca6c3cec389b85a9be8e67da
1 #!/bin/sh
3 # Test whether a french locale is installed.
4 : ${LOCALE_FR=fr_FR}
5 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
6 if test $LOCALE_FR != none; then
7 testlocale=$LOCALE_FR
8 else
9 if test $LOCALE_FR_UTF8 != none; then
10 testlocale=$LOCALE_FR_UTF8
11 else
12 if test -f /usr/bin/localedef; then
13 echo "Skipping test: no french locale is installed"
14 else
15 echo "Skipping test: no french locale is supported"
17 exit 77
21 LC_ALL=$testlocale \
22 ./test-vasnprintf-posix2${EXEEXT}