summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/msggrep-2
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/tests/msggrep-2')
-rwxr-xr-xgettext-tools/tests/msggrep-26
1 files changed, 4 insertions, 2 deletions
diff --git a/gettext-tools/tests/msggrep-2 b/gettext-tools/tests/msggrep-2
index 017a6a4..fdb4709 100755
--- a/gettext-tools/tests/msggrep-2
+++ b/gettext-tools/tests/msggrep-2
@@ -152,9 +152,11 @@ msgid "%s: option `-W %s' doesn't allow an argument\n"
msgstr "%s: l'option � -W %s � ne tol�re pas d'argument\n"
EOF
-tmpfiles="$tmpfiles mg-test2.out"
+tmpfiles="$tmpfiles mg-test2.tmp mg-test2.out"
: ${MSGGREP=msggrep}
-${MSGGREP} -M fr -o mg-test2.out mg-test2.po
+${MSGGREP} -M fr -o mg-test2.tmp mg-test2.po
+test $? = 0 || { rm -fr $tmpfiles; exit 1; }
+tr -d '\r' < mg-test2.tmp > mg-test2.out
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mg-test2.ok"