diff options
Diffstat (limited to 'gettext-tools/tests/msgcomm-11')
-rwxr-xr-x | gettext-tools/tests/msgcomm-11 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gettext-tools/tests/msgcomm-11 b/gettext-tools/tests/msgcomm-11 index b5cbbf6..ed2cafc 100755 --- a/gettext-tools/tests/msgcomm-11 +++ b/gettext-tools/tests/msgcomm-11 @@ -44,11 +44,13 @@ msgid "1" msgstr "" EOF -tmpfiles="$tmpfiles mcomm-test11.out" +tmpfiles="$tmpfiles mcomm-test11.tmp mcomm-test11.out" : ${MSGCOMM=msgcomm} -${MSGCOMM} --more-than=1 --no-location --omit-header -o mcomm-test11.out \ +${MSGCOMM} --more-than=1 --no-location --omit-header -o mcomm-test11.tmp \ mcomm-test11.in1 mcomm-test11.in2 test $? = 0 || { rm -fr $tmpfiles; exit 1; } +tr -d '\r' < mcomm-test11.tmp > mcomm-test11.out +test $? = 0 || { rm -fr $tmpfiles; exit 1; } tmpfiles="$tmpfiles mcomm-test11.ok" cat << EOF > mcomm-test11.ok |