1#!/bin/sh
2
3# Test whether a traditional french locale is installed.
4: ${LOCALE_FR=fr_FR}
5if test $LOCALE_FR != none; then
6  testlocale=$LOCALE_FR
7else
8  if test -f /usr/bin/localedef; then
9    echo "Skipping test: no traditional french locale is installed"
10  else
11    echo "Skipping test: no traditional french locale is supported"
12  fi
13  exit 77
14fi
15
16LC_ALL=$testlocale \
17./test-u32-vasnprintf1${EXEEXT} \
18  || exit 1
19
20LC_ALL=$testlocale \
21./test-u32-vasnprintf2${EXEEXT}
22