develooper Front page | perl.perl5.porters | Postings from November 2022

Re: t/run/locale.t: new STDERR warning

Thread Previous | Thread Next
From:
Karl Williamson
Date:
November 8, 2022 16:40
Subject:
Re: t/run/locale.t: new STDERR warning
Message ID:
45ba9634-88ca-0de4-215b-d5cd0d1e078f@khwilliamson.com
On 11/1/22 19:06, James E Keenan wrote:
> On 10/12/22 07:50, Dave Mitchell wrote:
>> A test recently added to  t/run/locale.t is producing noise on STDERR 
>> when
>> building perl on my system.
>>
>> The test is (in part):
>>
>>      local $ENV{LC_ALL} = "This is not a legal locale name";
>>
>>      fresh_perl_like("", qr/Falling back to the $fallback locale/,
>>                      {}, "check that illegal startup environment falls 
>> back");
>>
>> and it produces this output:
>>
>> $ ./perl -Ilib  t/run/locale.t > /dev/null
>> sh: warning: setlocale: LC_ALL: cannot change locale (This is not a 
>> legal locale name): No such file or directory
>> $
> 
> Which OS?  Which shell(s)?
> 

I don't know.  Next time I see it, I'll respond

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About