summaryrefslogtreecommitdiffstats
path: root/tests/msgfmt-2
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2002-01-07 17:50:01 +0000
committerBruno Haible <bruno@clisp.org>2009-06-22 00:36:25 +0200
commit47340af0f07f3a5e66c1654b16acbb5bf64435cb (patch)
treed75cb33c6bc5eb8306ff095d1d6c6e8b785eb858 /tests/msgfmt-2
parentbe5b827f950d23b08cea480b22283b351b466acf (diff)
downloadexternal_gettext-47340af0f07f3a5e66c1654b16acbb5bf64435cb.zip
external_gettext-47340af0f07f3a5e66c1654b16acbb5bf64435cb.tar.gz
external_gettext-47340af0f07f3a5e66c1654b16acbb5bf64435cb.tar.bz2
Change the tests to be less verbose on Solaris and HP-UX.
Diffstat (limited to 'tests/msgfmt-2')
-rwxr-xr-xtests/msgfmt-210
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/msgfmt-2 b/tests/msgfmt-2
index e03e034..f567aad 100755
--- a/tests/msgfmt-2
+++ b/tests/msgfmt-2
@@ -1,12 +1,5 @@
#! /bin/sh
-TEXTDOMAINDIR=..
-LANGUAGE=tests
-LC_ALL=en
-LC_MESSAGES=
-LANG=
-export TEXTDOMAINDIR LANGUAGE LC_ALL LC_MESSAGES LANG
-
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
@@ -76,7 +69,8 @@ ${MSGFMT} modules.po -o LC_MESSAGES/gen.mo
tmpfiles="$tmpfiles mf-test2.out"
: ${GETTEXT=gettext}
-${GETTEXT} gen 'error 3' > mf-test2.out
+TEXTDOMAINDIR=.. LANGUAGE=tests \
+${GETTEXT} --env LC_ALL=en gen 'error 3' > mf-test2.out
tmpfiles="$tmpfiles gtmf-test2.ok"
echo $ac_n "error 3 translation$ac_c" > gtmf-test2.ok