diff options
author | Niko Tyni <ntyni@debian.org> | 2013-08-06 16:57:00 +0300 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2013-08-22 12:01:50 +0200 |
commit | 0244b87952f6bbb22aa8d14f3fc0b12b65c664e4 (patch) | |
tree | cf097e9ba87f4795938033d3ef8b3e86a97571f4 /lib/perl5db.t | |
parent | 93f721541559348dc0299f8ede47cdb724931186 (diff) | |
download | perl-0244b87952f6bbb22aa8d14f3fc0b12b65c664e4.tar.gz |
Skip the perldoc test if 'man' is missing
This fixes a test failure in minimal build environments without
a 'man' command.
Diffstat (limited to 'lib/perl5db.t')
-rw-r--r-- | lib/perl5db.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/perl5db.t b/lib/perl5db.t index a01dfa2dc6..17fa744314 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"; |