summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/format-perl-mixed-1
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-10-19 20:55:58 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:15:20 +0200
commit3eaf48f8534aa8da26312fbcf5443940fa5fcd9f (patch)
tree712c1113a5acd8515f5f57194a27c273a80dc373 /gettext-tools/tests/format-perl-mixed-1
parent426db48d468709b885a46aec572753e24ac0e8a1 (diff)
downloadexternal_gettext-3eaf48f8534aa8da26312fbcf5443940fa5fcd9f.zip
external_gettext-3eaf48f8534aa8da26312fbcf5443940fa5fcd9f.tar.gz
external_gettext-3eaf48f8534aa8da26312fbcf5443940fa5fcd9f.tar.bz2
Avoid test failure on mingw.
Diffstat (limited to 'gettext-tools/tests/format-perl-mixed-1')
-rwxr-xr-xgettext-tools/tests/format-perl-mixed-12
1 files changed, 1 insertions, 1 deletions
diff --git a/gettext-tools/tests/format-perl-mixed-1 b/gettext-tools/tests/format-perl-mixed-1
index 3b3a84b..6f12104 100755
--- a/gettext-tools/tests/format-perl-mixed-1
+++ b/gettext-tools/tests/format-perl-mixed-1
@@ -44,7 +44,7 @@ EOF
fail=
if test -n "${formats}"; then
# Verify that the first line contains the expected #, comment.
- if sed 1q < f-pm-1-$n.po | grep '^'"${formats}"'$' > /dev/null; then
+ if sed 1q < f-pm-1-$n.po | tr -d '\r' | grep '^'"${formats}"'$' > /dev/null; then
:
else
fail=yes