From 0244b87952f6bbb22aa8d14f3fc0b12b65c664e4 Mon Sep 17 00:00:00 2001 From: Niko Tyni Date: Tue, 6 Aug 2013 16:57:00 +0300 Subject: [PATCH] Skip the perldoc test if 'man' is missing This fixes a test failure in minimal build environments without a 'man' command. --- lib/perl5db.t | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/perl5db.t b/lib/perl5db.t index a01dfa2..17fa744 100644 --- a/lib/perl5db.t +++ b/lib/perl5db.t @@ -2693,6 +2693,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"; -- 2.7.4