summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/msginit-1
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-10-19 20:38:30 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:15:19 +0200
commit426db48d468709b885a46aec572753e24ac0e8a1 (patch)
tree31f40b5879caafe522a5c7560877be811aead04f /gettext-tools/tests/msginit-1
parent5fa250bf3af0026839c386440f908f0784792814 (diff)
downloadexternal_gettext-426db48d468709b885a46aec572753e24ac0e8a1.zip
external_gettext-426db48d468709b885a46aec572753e24ac0e8a1.tar.gz
external_gettext-426db48d468709b885a46aec572753e24ac0e8a1.tar.bz2
Avoid test suite failures on Cygwin-hosted mingw.
Diffstat (limited to 'gettext-tools/tests/msginit-1')
-rwxr-xr-xgettext-tools/tests/msginit-12
1 files changed, 1 insertions, 1 deletions
diff --git a/gettext-tools/tests/msginit-1 b/gettext-tools/tests/msginit-1
index 1597d2a..1f8de53 100755
--- a/gettext-tools/tests/msginit-1
+++ b/gettext-tools/tests/msginit-1
@@ -43,7 +43,7 @@ tmpfiles="$tmpfiles mi-test1.tmp mi-test1.out mi-test1.err"
: ${MSGINIT=msginit}
${MSGINIT} -i mi-test1.pot -l ga_IE --no-translator -o mi-test1.tmp 2>mi-test1.err
test $? = 0 || { cat mi-test1.err 1>&2; rm -fr $tmpfiles; exit 1; }
-sed -e '1,15d' < mi-test1.tmp > mi-test1.out
+sed -e '1,15d' < mi-test1.tmp | tr -d '\r' > mi-test1.out
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles mi-test1.ok"