summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/xgettext-sh-1
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2005-10-12 10:01:16 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:12:54 +0200
commit011e7649509f3f0ae7671612e68fd069afd7e0c3 (patch)
tree4e3e01eca0c8ff1ce65d2e1edda16824a35cde7f /gettext-tools/tests/xgettext-sh-1
parent0e904581022f9fd671ba9e39bc7de10b70f20be9 (diff)
downloadexternal_gettext-011e7649509f3f0ae7671612e68fd069afd7e0c3.zip
external_gettext-011e7649509f3f0ae7671612e68fd069afd7e0c3.tar.gz
external_gettext-011e7649509f3f0ae7671612e68fd069afd7e0c3.tar.bz2
Add support for contexts in xgettext.
Diffstat (limited to 'gettext-tools/tests/xgettext-sh-1')
-rwxr-xr-xgettext-tools/tests/xgettext-sh-14
1 files changed, 3 insertions, 1 deletions
diff --git a/gettext-tools/tests/xgettext-sh-1 b/gettext-tools/tests/xgettext-sh-1
index f0ef250..87f9199 100755
--- a/gettext-tools/tests/xgettext-sh-1
+++ b/gettext-tools/tests/xgettext-sh-1
@@ -466,7 +466,9 @@ EOF
tmpfiles="$tmpfiles xg-sh-1.po"
: ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location xg-sh-1.sh -d xg-sh-1
+# Here we use ngettext with two signatures: ngettext:1 and ngettext:1,2.
+${XGETTEXT} --omit-header --no-location --keyword=ngettext:1 \
+ xg-sh-1.sh -d xg-sh-1
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-sh-1.ok"