summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/xgettext-perl-7
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-04-06 12:28:50 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:15:38 +0200
commitcec3abadd6f3d52352da75247bbe6764f22a45d7 (patch)
tree87aacfd717f5024519b1c93fbbcd073df1c90976 /gettext-tools/tests/xgettext-perl-7
parent32aba2cc17fba52bb9379d3a6bc698451c195b74 (diff)
downloadexternal_gettext-cec3abadd6f3d52352da75247bbe6764f22a45d7.zip
external_gettext-cec3abadd6f3d52352da75247bbe6764f22a45d7.tar.gz
external_gettext-cec3abadd6f3d52352da75247bbe6764f22a45d7.tar.bz2
Avoid testsuite failures on MacOS X 10.5.
Diffstat (limited to 'gettext-tools/tests/xgettext-perl-7')
-rwxr-xr-xgettext-tools/tests/xgettext-perl-72
1 files changed, 1 insertions, 1 deletions
diff --git a/gettext-tools/tests/xgettext-perl-7 b/gettext-tools/tests/xgettext-perl-7
index 17eedfe..c62de10 100755
--- a/gettext-tools/tests/xgettext-perl-7
+++ b/gettext-tools/tests/xgettext-perl-7
@@ -22,7 +22,7 @@ tmpfiles="$tmpfiles xg-pl-7.tmp.po xg-pl-7.po"
${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
-d xg-pl-7.tmp xg-pl-7.pl
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
-tr -d '\r' < xg-pl-7.tmp.po > xg-pl-7.po
+LC_ALL=C tr -d '\r' < xg-pl-7.tmp.po > xg-pl-7.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-pl-7.ok"