summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/xgettext-c-3
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-c-3
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-c-3')
-rwxr-xr-xgettext-tools/tests/xgettext-c-32
1 files changed, 1 insertions, 1 deletions
diff --git a/gettext-tools/tests/xgettext-c-3 b/gettext-tools/tests/xgettext-c-3
index bc6d69a..6cf1d84 100755
--- a/gettext-tools/tests/xgettext-c-3
+++ b/gettext-tools/tests/xgettext-c-3
@@ -17,7 +17,7 @@ tmpfiles="$tmpfiles xg-c-3.tmp.po xg-c-3.po"
: ${XGETTEXT=xgettext}
${XGETTEXT} --omit-header --add-location -d xg-c-3.tmp xg-c-3.in.c
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
-tr -d '\r' < xg-c-3.tmp.po > xg-c-3.po
+LC_ALL=C tr -d '\r' < xg-c-3.tmp.po > xg-c-3.po
test $? = 0 || { rm -fr $tmpfiles; exit 1; }
tmpfiles="$tmpfiles xg-c-3.ok"