diff options
Diffstat (limited to 'cpan/Module-Build/t/install.t')
-rw-r--r-- | cpan/Module-Build/t/install.t | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpan/Module-Build/t/install.t b/cpan/Module-Build/t/install.t index ffe8afca01..2d487f679b 100644 --- a/cpan/Module-Build/t/install.t +++ b/cpan/Module-Build/t/install.t @@ -2,7 +2,7 @@ use strict; use lib 't/lib'; -use MBTest tests => 34; +use MBTest tests => 35; blib_load('Module::Build'); @@ -166,6 +166,10 @@ is $@, ''; '--install_base', $basedir])}; is $@, ''; + eval {$mb->run_perl_script($cmd, [], ['install', '--destdir', $destdir, + '--install_base', $basedir, '--install_base', $basedir])}; + is $@, ''; + $install_to = File::Spec->catfile($destdir, $libdir, $dist->name ) . '.pm'; is -e $install_to, 1, "Look for file at $install_to"; |