Re: [PATCH] t0200: "locale" may not exist

2012-12-19 Thread Jeff King
On Wed, Dec 19, 2012 at 07:28:24AM -0800, Junio C Hamano wrote: > > +test_expect_success GETTEXT,!GETTEXT_POISON 'setup locale' ' > > # is_IS.UTF-8 on Solaris and FreeBSD, is_IS.utf8 on Debian > > - is_IS_locale=$(locale -a | sed -n '/^is_IS\.[uU][tT][fF]-*8$/{ > > + is_IS_locale=$(locale

Re: [PATCH] t0200: "locale" may not exist

2012-12-19 Thread Junio C Hamano
Jeff King writes: > On Tue, Dec 18, 2012 at 10:47:03PM -0800, Junio C Hamano wrote: > >> On systems without "locale" installed, t0200-gettext-basic.sh leaked >> error messages when checking if some test locales are available. >> Hide them, as they are not very useful. > > Obviously correct, thoug

Re: [PATCH] t0200: "locale" may not exist

2012-12-19 Thread Jeff King
On Tue, Dec 18, 2012 at 10:47:03PM -0800, Junio C Hamano wrote: > On systems without "locale" installed, t0200-gettext-basic.sh leaked > error messages when checking if some test locales are available. > Hide them, as they are not very useful. Obviously correct, though there is another way: > di

[PATCH] t0200: "locale" may not exist

2012-12-18 Thread Junio C Hamano
On systems without "locale" installed, t0200-gettext-basic.sh leaked error messages when checking if some test locales are available. Hide them, as they are not very useful. Signed-off-by: Junio C Hamano --- t/lib-gettext.sh | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git