attribute: const/pure defaults to unsequenced/reproducible
[gnulib.git] / tests / test-vasnprintf-posix2.sh
blobe488e94e97f0435bad325b325f6afff6364e4e57
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 if $LC_NUMERIC_IMPLEMENTED; then
23 else
24 echo "Skipping test: LC_NUMERIC category of locales is not implemented"
25 exit 77
28 LC_ALL=$testlocale \
29 ${CHECKER} ./test-vasnprintf-posix2${EXEEXT}