diff options
author | Tony Cook <tony@develop-help.com> | 2013-05-27 20:15:21 +1000 |
---|---|---|
committer | Ricardo Signes <rjbs@cpan.org> | 2013-05-28 09:56:57 -0400 |
commit | 69c551d20bba936c294621f99a4248f63ae58175 (patch) | |
tree | 2e61d8f1367690c99f6a106a978a2e9a1c8721fd /lib | |
parent | 70d50d2196e402f6ef35ba0f9f0098c917a29568 (diff) | |
download | perl-69c551d20bba936c294621f99a4248f63ae58175.tar.gz |
man perlrules doesn't always output "No manual entry for perlrules"
especially when the locale is non-English.
Hopefully all Linux dists are producing the same message, and force the
language to "C" so we get English messages.
(cherry picked from commit 08a004e4d58edacd87d6e8a443a269a6658faf4c)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/perl5db.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/perl5db.t b/lib/perl5db.t index 81bd5da86e..58cc5ae0f2 100644 --- a/lib/perl5db.t +++ b/lib/perl5db.t @@ -2637,7 +2637,12 @@ sub _calc_trace_wrapper # Test the perldoc command # We don't actually run the program, but we need to provide one to the wrapper. +SKIP: { + $^O eq "linux" + or skip "man errors aren't especially portable", 1; + local $ENV{LANG} = "C"; + local $ENV{LC_MESSAGE} = "C"; my $wrapper = DebugWrap->new( { cmds => |