develooper Front page | perl.perl5.porters | Postings from June 2019

Re: [perl #134182] Fix test failure in POSIX/t/mb.t with semi-brokenlocales

Thread Previous | Thread Next
Dominic Hargreaves
June 7, 2019 14:30
Re: [perl #134182] Fix test failure in POSIX/t/mb.t with semi-brokenlocales
Message ID:
On Fri, Jun 07, 2019 at 05:11:10AM -0700, James E Keenan via RT wrote:
> Dom, since I doubt any of our smoke-testing rigs are set up to reproduce this problem, could you send us some sort of evidence that the problem has been fixed?

Before the patch was applied, this test failed in my Debian sbuild
environment. Afterwards, it succeeded.

(The relevant detail here is that outside sbuild, my LANG is en_GB.UTF-8.
This is progagated to within sbuild (which sets up a chroot) but that
environment does not have the en_GB.UTF-8 locale data installed (since it's
supposed to be a minimal environment).

sbuild itself corrects for this problem by setting LC_ALL, so the fact
that the test overrode LC_ALL caused the non-working en_GB.UTF-8 locale
to be used.)


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About