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

# Test msgfmt --qt on a PO file with contexts.

: ${MSGFMT=msgfmt}
${MSGFMT} --qt "$abs_srcdir"/qttest2_de.po -o mf-qt-2.qm || Exit 1

: ${CMP=cmp}
${CMP} "$abs_srcdir"/qttest2_de.qm mf-qt-2.qm >/dev/null 2>/dev/null
result=$?

exit $result