This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d87852
)
man perlrules doesn't always output "No manual entry for perlrules"
author
Tony Cook
<tony@develop-help.com>
Mon, 27 May 2013 10:15:21 +0000
(20:15 +1000)
committer
Tony Cook
<tony@develop-help.com>
Mon, 27 May 2013 10:15:21 +0000
(20:15 +1000)
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.
lib/perl5db.t
patch
|
blob
|
blame
|
history
diff --git
a/lib/perl5db.t
b/lib/perl5db.t
index
81bd5da
..
58cc5ae
100644
(file)
--- 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 =>