This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
On Linux LC_ALL overrides LC_MESSAGES, so tweak perl5db.t accordingly.
authorNicholas Clark <nick@ccl4.org>
Mon, 27 May 2013 12:53:30 +0000 (14:53 +0200)
committerNicholas Clark <nick@ccl4.org>
Mon, 27 May 2013 12:53:30 +0000 (14:53 +0200)
Without this, the test fails when LC_ALL is set to a non-English locale for
which man has been localised.

lib/perl5db.t

index 58cc5ae..4aff839 100644 (file)
@@ -2643,6 +2643,7 @@ SKIP:
         or skip "man errors aren't especially portable", 1;
     local $ENV{LANG} = "C";
     local $ENV{LC_MESSAGE} = "C";
+    local $ENV{LC_ALL} = "C";
     my $wrapper = DebugWrap->new(
         {
             cmds =>