This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: 5.10.0 test hangs on non internet access
[perl5.git] / lib / CPANPLUS / Dist / Build / t / 02_CPANPLUS-Dist-Build.t
index 490420e..de0b460 100644 (file)
@@ -39,11 +39,15 @@ my $Conf    = $CB->configure_object;
 
 
 ### create a fake object, so we don't use the actual module tree
+### make sure to add dslip data, so CPANPLUS doesn't try to find
+### it in another module in the package, for which it needs the
+### module tree
 my $Mod = CPANPLUS::Module::Fake->new(
                 module  => 'Foo::Bar',
                 path    => 'src',
                 author  => CPANPLUS::Module::Author::Fake->new,
                 package => 'Foo-Bar-0.01.tar.gz',
+                dslip   => 'RdpO?',
             );
 
 $Conf->set_conf( base       => 'dummy-cpanplus' );