summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/msgmerge-compendium-5
blob: 5c28dd1514e0c96eb8441614353dec17003d262b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh
. "${srcdir=.}/init.sh"; path_prepend_ . ../src

# Test compendium option with a large compendium.

: ${MSGMERGE=msgmerge}
${MSGMERGE} -q -o mm-c-5.tmp \
  --compendium "$abs_srcdir"/mm-viet.comp.po \
  /dev/null "$abs_srcdir"/mm-viet.pot || Exit 1
LC_ALL=C tr -d '\r' < mm-c-5.tmp > mm-c-5.out || Exit 1

: ${DIFF=diff}
${DIFF} "$abs_srcdir"/mm-viet.out mm-c-5.out
result=$?

exit $result