summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/lang-bash
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/tests/lang-bash')
-rwxr-xr-xgettext-tools/tests/lang-bash9
1 files changed, 9 insertions, 0 deletions
diff --git a/gettext-tools/tests/lang-bash b/gettext-tools/tests/lang-bash
index 030e77c..0fff7e3 100755
--- a/gettext-tools/tests/lang-bash
+++ b/gettext-tools/tests/lang-bash
@@ -89,6 +89,15 @@ case `bash -c 'echo $BASH_VERSION'` in
*) rm -fr $tmpfiles; exit 77;;
esac
+# Test whether the fr_FR locale is installed.
+: ${LOCALE_FR=fr_FR}
+LC_ALL=$LOCALE_FR ./testlocale
+case $? in
+ 0) ;;
+ 77) rm -fr $tmpfiles; exit 77;;
+ *) exit 1;;
+esac
+
tmpfiles="$tmpfiles prog.nok prog.ok prog.out"
# Expected result when bash is built without i18n support.
cat <<\EOF > prog.nok