summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/msgmerge-11
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/tests/msgmerge-11')
-rwxr-xr-xgettext-tools/tests/msgmerge-116
1 files changed, 4 insertions, 2 deletions
diff --git a/gettext-tools/tests/msgmerge-11 b/gettext-tools/tests/msgmerge-11
index 5a9ad94..4373474 100755
--- a/gettext-tools/tests/msgmerge-11
+++ b/gettext-tools/tests/msgmerge-11
@@ -56,9 +56,11 @@ msgstr[0] ""
msgstr[1] ""
EOF
-tmpfiles="$tmpfiles mm-test11.out"
+tmpfiles="$tmpfiles mm-test11.tmp mm-test11.out"
: ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o mm-test11.out mm-test11.po mm-test11.pot
+${MSGMERGE} -q -o mm-test11.tmp mm-test11.po mm-test11.pot
+test $? = 0 || { rm -fr $tmpfiles; exit 1; }
+tr -d '\r' < mm-test11.tmp > mm-test11.out
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mm-test11.ok"