noreturn tests: Avoid test failure on Solaris 10/x86 with cc.
[gnulib.git] / tests / test-vasnprintf-posix2.sh
blob90932191fc36e70502e6bb6321a24ffc29ecda9e
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 ${CHECKER} ./test-vasnprintf-posix2${EXEEXT}