In perl.git, the branch smoke-me/stat has been updated <http://perl5.git.perl.org/perl.git/commitdiff/d9213de7040ebaa137f87ba621d106fc7b4a0782?hp=df826430da0d8b5e9c0dd9236d8a82dde079f3d6>
- Log ----------------------------------------------------------------- commit d9213de7040ebaa137f87ba621d106fc7b4a0782 Author: Nicholas Clark <[email protected]> Date: Tue Jun 5 16:53:43 2012 +0200 In t/op/stat.t, ensure that the output of ls is not localised. t/op/stat.t parses the output of ls, and will get confused if localisation happens to change the header line containing the total to a word starting with the letter c. This fixes the build issue on a Czech locale reported in http://perlmonks.org/?node=973257 and RT #113472 ----------------------------------------------------------------------- Summary of changes: t/op/stat.t | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/t/op/stat.t b/t/op/stat.t index af1fa5e..89411c7 100644 --- a/t/op/stat.t +++ b/t/op/stat.t @@ -24,6 +24,9 @@ plan tests => 113; my $Perl = which_perl(); +$ENV{LC_ALL} = 'C'; # Forge English error messages. +$ENV{LANGUAGE} = 'C'; # Ditto in GNU. + $Is_Amiga = $^O eq 'amigaos'; $Is_Cygwin = $^O eq 'cygwin'; $Is_Darwin = $^O eq 'darwin'; -- Perl5 Master Repository
