summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/msgmerge-compendium-5
blob: eb80ed4267bad46200ad6915cc6e6684f8d5aa7f (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