1
0
Files
TP-Link_XR500v_v2-6/m4-1.4.13/tests/test-mbrtowc2.sh
2016-11-30 09:03:17 +08:00

16 lines
376 B
Bash
Executable File

#!/bin/sh
# Test whether a specific UTF-8 locale is installed.
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
if test $LOCALE_FR_UTF8 = none; then
if test -f /usr/bin/localedef; then
echo "Skipping test: no french Unicode locale is installed"
else
echo "Skipping test: no french Unicode locale is supported"
fi
exit 77
fi
LC_ALL=$LOCALE_FR_UTF8 \
./test-mbrtowc${EXEEXT} 2