summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/msgcomm-17
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/tests/msgcomm-17')
-rwxr-xr-xgettext-tools/tests/msgcomm-176
1 files changed, 4 insertions, 2 deletions
diff --git a/gettext-tools/tests/msgcomm-17 b/gettext-tools/tests/msgcomm-17
index 3d7916e..20ad450 100755
--- a/gettext-tools/tests/msgcomm-17
+++ b/gettext-tools/tests/msgcomm-17
@@ -65,13 +65,15 @@ msgid "5"
msgstr "fünf"
EOF
-tmpfiles="$tmpfiles mcomm-test17.out"
+tmpfiles="$tmpfiles mcomm-test17.tmp mcomm-test17.out"
: ${MSGCOMM=msgcomm}
${MSGCOMM} -u \
- -o mcomm-test17.out \
+ -o mcomm-test17.tmp \
mcomm-test17.in1 mcomm-test17.in2 mcomm-test17.in3
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
+tr -d '\r' < mcomm-test17.tmp > mcomm-test17.out
+test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mcomm-test17.ok"
cat << \EOF > mcomm-test17.ok