From: Bruno Haible Date: Mon, 13 Mar 2006 12:30:42 +0000 (+0000) Subject: Test compendium option with a large compendium. X-Git-Tag: v0.15~300 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=624da26008c059e6a3f982eb5c766d33ef87bfed;p=thirdparty%2Fgettext.git Test compendium option with a large compendium. --- diff --git a/gettext-tools/tests/msgmerge-compendium-5 b/gettext-tools/tests/msgmerge-compendium-5 new file mode 100755 index 000000000..16f5fc478 --- /dev/null +++ b/gettext-tools/tests/msgmerge-compendium-5 @@ -0,0 +1,21 @@ +#! /bin/sh + +# Test compendium option with a large compendium. + +tmpfiles="" +trap 'rm -fr $tmpfiles' 1 2 3 15 + +tmpfiles="$tmpfiles mm-c-5.out" +: ${MSGMERGE=msgmerge} +${MSGMERGE} -q -o mm-c-5.out \ + --compendium ${top_srcdir}/tests/msgmerge-v.comp.po \ + /dev/null ${top_srcdir}/tests/msgmerge-v.pot +test $? = 0 || { rm -fr $tmpfiles; exit 1; } + +: ${DIFF=diff} +${DIFF} ${top_srcdir}/tests/msgmerge-v.out mm-c-5.out +result=$? + +rm -fr $tmpfiles + +exit $result