Imported Upstream version 0.9.3
[platform/upstream/libunistring.git] / tests / unistdio / test-u32-vasnprintf2.sh
1 #!/bin/sh
2
3 # Test whether a traditional french locale is installed.
4 : ${LOCALE_FR=fr_FR}
5 if test $LOCALE_FR != none; then
6   testlocale=$LOCALE_FR
7 else
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
14 fi
15
16 LC_ALL=$testlocale \
17 ./test-u32-vasnprintf1${EXEEXT} \
18   || exit 1
19
20 LC_ALL=$testlocale \
21 ./test-u32-vasnprintf2${EXEEXT}