From: Bruno Haible Date: Mon, 8 Sep 2003 10:36:52 +0000 (+0000) Subject: Make it work with Solaris sh. X-Git-Tag: v0.13~268 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dba9ff0d43d87e250dee59a992897dfcbc5455e2;p=thirdparty%2Fgettext.git Make it work with Solaris sh. --- diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog index 985e6e17a..81da08cfa 100644 --- a/gettext-tools/tests/ChangeLog +++ b/gettext-tools/tests/ChangeLog @@ -1,5 +1,6 @@ 2003-09-08 Bruno Haible + * lang-sh: Avoid test failure with Solaris /bin/sh. * lang-bash: Avoid test failure when bash is built without i18n support. diff --git a/gettext-tools/tests/lang-sh b/gettext-tools/tests/lang-sh index f13827939..dd03d9415 100755 --- a/gettext-tools/tests/lang-sh +++ b/gettext-tools/tests/lang-sh @@ -46,9 +46,9 @@ eval_ngettext () { $echo "$_string" } -$echo "`gettext "'Your command, please?', asked the waiter."`" +$echo "`gettext \"'Your command, please?', asked the waiter.\"`" -$echo "`eval_ngettext "a piece of cake" "\\$n pieces of cake" $n`" +$echo "`eval_ngettext \"a piece of cake\" \"\\$n pieces of cake\" $n`" EOF tmpfiles="$tmpfiles prog.pot"