diff options
Diffstat (limited to 'gettext-tools/tests/msgcomm-26')
-rwxr-xr-x | gettext-tools/tests/msgcomm-26 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gettext-tools/tests/msgcomm-26 b/gettext-tools/tests/msgcomm-26 index c1ab5f3..ee48094 100755 --- a/gettext-tools/tests/msgcomm-26 +++ b/gettext-tools/tests/msgcomm-26 @@ -71,9 +71,11 @@ msgid "%s: illegal option -- %c\n" msgstr "%s: ungültige Optionen -- %c\n" EOF -tmpfiles="$tmpfiles mcomm-test26.out" +tmpfiles="$tmpfiles mcomm-test26.tmp mcomm-test26.out" : ${MSGCOMM=msgcomm} -${MSGCOMM} -o mcomm-test26.out mcomm-test26.in1 mcomm-test26.in2 +${MSGCOMM} -o mcomm-test26.tmp mcomm-test26.in1 mcomm-test26.in2 +test $? = 0 || { rm -fr $tmpfiles; exit 1; } +tr -d '\r' < mcomm-test26.tmp > mcomm-test26.out test $? = 0 || { rm -fr $tmpfiles; exit 1; } tmpfiles="$tmpfiles mcomm-test26.ok" |