Imported Upstream version 0.9.3
[platform/upstream/libunistring.git] / tests / unistdio / test-ulc-vasnprintf3.sh
1 #!/bin/sh
2
3 # Test whether a french Unicode locale is installed.
4 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
5 if test $LOCALE_FR_UTF8 != none; then
6   testlocale=$LOCALE_FR_UTF8
7 else
8   if test -f /usr/bin/localedef; then
9     echo "Skipping test: no french Unicode locale is installed"
10   else
11     echo "Skipping test: no french Unicode locale is supported"
12   fi
13   exit 77
14 fi
15
16 LC_ALL=$testlocale \
17 ./test-ulc-vasnprintf1${EXEEXT} \
18   || exit 1
19
20 LC_ALL=$testlocale \
21 ./test-ulc-vasnprintf3${EXEEXT}