diff options
author | Tony Cook <tony@develop-help.com> | 2013-05-27 20:15:21 +1000 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2013-05-27 20:15:21 +1000 |
commit | 08a004e4d58edacd87d6e8a443a269a6658faf4c (patch) | |
tree | 3a42a088548d82d934abb40d2fd06665b59bfb2a /lib/perl5db.t | |
parent | 8d87852bc15db2551d30680b9ef82903e4c7ca1a (diff) | |
download | perl-08a004e4d58edacd87d6e8a443a269a6658faf4c.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.
Diffstat (limited to 'lib/perl5db.t')
-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 => |