This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix edge case test failure in ext/POSIX/t/mb.t
authorDominic Hargreaves <dom@earth.li>
Fri, 7 Jun 2019 09:04:26 +0000 (10:04 +0100)
committerJames E Keenan <jkeenan@cpan.org>
Fri, 7 Jun 2019 11:53:07 +0000 (07:53 -0400)
commit69b89a0f0bb2cbb4c1607e78c3b414bf45244bea
treee5d1bad3a801505c6332fc7561ddca623c71a914
parentfb55ce6b7596b9e94f941cf83eac5ff84f760ea2
Fix edge case test failure in ext/POSIX/t/mb.t

This new test fails in an environment where LANG is set to one thing and
LC_ALL is set to another, and where LANG is set to a locale which is
not installed in the environment in question.

Such a test environment is arguably broken, but appears in common
chroot setups such as Debian's sbuild tool where LANG is inherited from
the parent environment, and LC_ALL is used to override it.

Committer: removed one non-printing character from patch

For: RT # 134182
ext/POSIX/t/mb.t