summaryrefslogtreecommitdiff
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-bash13
1 files changed, 13 insertions, 0 deletions
diff --git a/gettext-tools/tests/lang-bash b/gettext-tools/tests/lang-bash
index f2e0e3b..7c74651 100755
--- a/gettext-tools/tests/lang-bash
+++ b/gettext-tools/tests/lang-bash
@@ -116,6 +116,19 @@ if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
exit 77
fi
+case "$host_os" in
+ darwin*)
+ if test $LOCALE_FR != none; then
+ LC_ALL=$LOCALE_FR bash --help \
+ | grep '^Utilisation' > /dev/null 2>&1 || exit 77
+ fi
+ if test $LOCALE_FR_UTF8 != none; then
+ LC_ALL=$LOCALE_FR_UTF8 bash --help \
+ | grep '^Utilisation' > /dev/null 2>&1 || exit 77
+ fi
+ ;;
+esac
+
# Expected result when bash is built without i18n support.
cat <<\EOF > prog.nok
'Your command, please?', asked the waiter.