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