diff options
author | Benjamin Holzman <bah@ecnvantage.com> | 2000-11-25 15:40:20 -0500 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-11-26 18:45:56 +0000 |
commit | 21477fb41342ef2f0f21af5ef95caf64eee65dee (patch) | |
tree | cc46785247561e39b2cac875ed7d74a43583a57f /t/pragma | |
parent | 4c8f17b905f2c0cd6339fc4fe5f0be6be15f3434 (diff) | |
download | perl-21477fb41342ef2f0f21af5ef95caf64eee65dee.tar.gz |
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
Diffstat (limited to 't/pragma')
-rwxr-xr-x | t/pragma/locale.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/pragma/locale.t b/t/pragma/locale.t index 89fb4e8717..2b4089e571 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 (<LOCALES>) { chomp; trylocale($_); |