diff options
Diffstat (limited to 'gettext-tools/tests/msgmerge-12')
-rwxr-xr-x | gettext-tools/tests/msgmerge-12 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gettext-tools/tests/msgmerge-12 b/gettext-tools/tests/msgmerge-12 index 799b224..91bc9b0 100755 --- a/gettext-tools/tests/msgmerge-12 +++ b/gettext-tools/tests/msgmerge-12 @@ -54,9 +54,11 @@ msgid "%d error" msgstr "" EOF -tmpfiles="$tmpfiles mm-test12.out" +tmpfiles="$tmpfiles mm-test12.tmp mm-test12.out" : ${MSGMERGE=msgmerge} -${MSGMERGE} -q -o mm-test12.out mm-test12.po mm-test12.pot +${MSGMERGE} -q -o mm-test12.tmp mm-test12.po mm-test12.pot +test $? = 0 || { rm -fr $tmpfiles; exit 1; } +tr -d '\r' < mm-test12.tmp > mm-test12.out test $? = 0 || { rm -fr $tmpfiles; exit 1; } tmpfiles="$tmpfiles mm-test12.ok" |