No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gettext / gettext-tools / tests / msgfmt-qt-1
blob3ade4a98facc1d161ce851df1e3d52eca232887f
1 #! /bin/sh
3 # Test output in Qt .qm format.
5 tmpfiles=""
6 trap 'rm -fr $tmpfiles' 1 2 3 15
8 tmpfiles="$tmpfiles mf-qt-1.qm"
9 : ${MSGFMT=msgfmt}
10 ${MSGFMT} --qt ${top_srcdir}/tests/qttest_pl.po -o mf-qt-1.qm
11 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
13 : ${CMP=cmp}
14 ${CMP} ${top_srcdir}/tests/qttest_pl.qm mf-qt-1.qm >/dev/null 2>/dev/null
15 result=$?
17 rm -fr $tmpfiles
19 exit $result