diff options
Diffstat (limited to 'gettext-tools/tests/msgmerge-compendium-1')
-rwxr-xr-x | gettext-tools/tests/msgmerge-compendium-1 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gettext-tools/tests/msgmerge-compendium-1 b/gettext-tools/tests/msgmerge-compendium-1 index ce489f5..b695529 100755 --- a/gettext-tools/tests/msgmerge-compendium-1 +++ b/gettext-tools/tests/msgmerge-compendium-1 @@ -28,9 +28,11 @@ msgid "2" msgstr "" EOF -tmpfiles="$tmpfiles mm-c-1.out" +tmpfiles="$tmpfiles mm-c-1.tmp mm-c-1.out" : ${MSGMERGE=msgmerge} -${MSGMERGE} -q -C mm-c-1.com -o mm-c-1.out mm-c-1.in1 mm-c-1.pot +${MSGMERGE} -q -C mm-c-1.com -o mm-c-1.tmp mm-c-1.in1 mm-c-1.pot +test $? = 0 || { rm -fr $tmpfiles; exit 1; } +tr -d '\r' < mm-c-1.tmp > mm-c-1.out test $? = 0 || { rm -fr $tmpfiles; exit 1; } tmpfiles="$tmpfiles mm-c-1.ok" |