summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/msgattrib-3
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/tests/msgattrib-3')
-rwxr-xr-xgettext-tools/tests/msgattrib-36
1 files changed, 4 insertions, 2 deletions
diff --git a/gettext-tools/tests/msgattrib-3 b/gettext-tools/tests/msgattrib-3
index 65e29cb..8766e5c 100755
--- a/gettext-tools/tests/msgattrib-3
+++ b/gettext-tools/tests/msgattrib-3
@@ -56,9 +56,11 @@ msgstr ""
#~ msgstr "das einen verheirateten Mann liebt"
EOF
-tmpfiles="$tmpfiles ma-test3.out"
+tmpfiles="$tmpfiles ma-test3.tmp ma-test3.out"
: ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --no-fuzzy -o ma-test3.out ma-test3.po
+${MSGATTRIB} --no-fuzzy -o ma-test3.tmp ma-test3.po
+test $? = 0 || { rm -fr $tmpfiles; exit 1; }
+tr -d '\r' < ma-test3.tmp > ma-test3.out
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles ma-test3.ok"