summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@debian.org>2013-08-06 16:57:00 +0300
committerRicardo Signes <rjbs@cpan.org>2013-08-08 09:21:00 -0400
commit47ef36a44d97e1ec219dacf0b7bd80a4f1e0dd33 (patch)
tree4b420682d02e5a9c47a9a4d2c7e915d27dd28fa2
parent59465c3e1ccc448e5a106f8b8457b8febe64b469 (diff)
downloadperl-47ef36a44d97e1ec219dacf0b7bd80a4f1e0dd33.tar.gz
Skip the perldoc test if 'man' is missing
This fixes a test failure in minimal build environments without a 'man' command.
-rw-r--r--lib/perl5db.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/perl5db.t b/lib/perl5db.t
index bcf06b96c7..37a0119471 100644
--- a/lib/perl5db.t
+++ b/lib/perl5db.t
@@ -2685,6 +2685,8 @@ SKIP:
{
$^O eq "linux"
or skip "man errors aren't especially portable", 1;
+ -x '/usr/bin/man'
+ or skip "man command seems to be missing", 1;
local $ENV{LANG} = "C";
local $ENV{LC_MESSAGES} = "C";
local $ENV{LC_ALL} = "C";