From: Benjamin Holzman Date: Sat, 25 Nov 2000 20:40:20 +0000 (-0500) Subject: Re: [ID 20001125.004] OK: perl v5.7.0 +DEVEL7825 on i686-linux 2.2.17 (UNINSTALLED) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=21477fb41342ef2f0f21af5ef95caf64eee65dee;p=p5sagit%2Fp5-mst-13.2.git Re: [ID 20001125.004] OK: perl v5.7.0 +DEVEL7825 on i686-linux 2.2.17 (UNINSTALLED) Message-ID: <20001125204020.A25040@ecnvantage.com> Debian allows installing /usr/bin/locale without installing any locales, an error message will ensue. p4raw-id: //depot/perl@7868 --- diff --git a/t/pragma/locale.t b/t/pragma/locale.t index 89fb4e8..2b4089e 100755 --- a/t/pragma/locale.t +++ b/t/pragma/locale.t @@ -361,7 +361,7 @@ delete $ENV{PATH} if $^O ne 'VMS' or $Config{d_setenv}; # Other subversive stuff. delete @ENV{qw(IFS CDPATH ENV BASH_ENV)}; -if (-x "/usr/bin/locale" && open(LOCALES, "/usr/bin/locale -a|")) { +if (-x "/usr/bin/locale" && open(LOCALES, "/usr/bin/locale -a 2>/dev/null|")) { while () { chomp; trylocale($_);