use strict;
use Test::More tests => 9;
+use File::Spec;
use TieOut;
use MakeMaker::Test::Utils;
use MakeMaker::Test::Setup::BFD;
use ExtUtils::MakeMaker;
+use ExtUtils::MakeMaker::Config;
+
+# Simulate an installation which has man page generation turned off to
+# ensure these tests will still work.
+$Config{installman3dir} = 'none';
chdir 't';
ok( my $stdout = tie *STDOUT, 'TieOut' );
SKIP: {
- use Config;
skip ("installman3dir is null", 1)
if !$Config{installman3dir} or
$Config{installman3dir} !~ /\S/ or
}
{
+ local $Config{installman3dir} = File::Spec->catdir(qw(t lib));
+
my $mm = WriteMakefile(
NAME => 'Big::Dummy',
VERSION_FROM => 'lib/Big/Dummy.pm',