diff options
author | Bruno Haible <bruno@clisp.org> | 2002-01-07 17:50:01 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-22 00:36:25 +0200 |
commit | 47340af0f07f3a5e66c1654b16acbb5bf64435cb (patch) | |
tree | d75cb33c6bc5eb8306ff095d1d6c6e8b785eb858 /tests/msgfmt-2 | |
parent | be5b827f950d23b08cea480b22283b351b466acf (diff) | |
download | external_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-x | tests/msgfmt-2 | 10 |
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 |