Blame gnulib/tests/test-mbsrtowcs1.sh
|
Packit Service |
a2ae7a |
#!/bin/sh
|
|
Packit Service |
a2ae7a |
|
|
Packit Service |
a2ae7a |
# Test in an ISO-8859-1 or ISO-8859-15 locale.
|
|
Packit Service |
a2ae7a |
: ${LOCALE_FR=fr_FR}
|
|
Packit Service |
a2ae7a |
if test $LOCALE_FR = none; then
|
|
Packit Service |
a2ae7a |
if test -f /usr/bin/localedef; then
|
|
Packit Service |
a2ae7a |
echo "Skipping test: no traditional french locale is installed"
|
|
Packit Service |
a2ae7a |
else
|
|
Packit Service |
a2ae7a |
echo "Skipping test: no traditional french 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 \
|
|
Packit Service |
a2ae7a |
${CHECKER} ./test-mbsrtowcs${EXEEXT} 1
|