develooper Front page | perl.perl5.changes | Postings from April 2020

[Perl/perl5] e37211: Fix edge case test failure in ext/POSIX/t/mb.t

From:
Dominic Hargreaves
Date:
April 1, 2020 19:49
Subject:
[Perl/perl5] e37211: Fix edge case test failure in ext/POSIX/t/mb.t
Message ID:
Perl/perl5/push/refs/heads/smoke-me/khw-mb/000000-e37211@github.com
  Branch: refs/heads/smoke-me/khw-mb
  Home:   https://github.com/Perl/perl5
  Commit: e37211489e1d351479ffd42fdf826107fd2d1e61
      https://github.com/Perl/perl5/commit/e37211489e1d351479ffd42fdf826107fd2d1e61
  Author: Dominic Hargreaves <dom@earth.li>
  Date:   2020-04-01 (Wed, 01 Apr 2020)

  Changed paths:
    M ext/POSIX/t/mb.t

  Log Message:
  -----------
  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 rebased the patch)



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