From: Jos I. Boumans Date: Wed, 7 Nov 2007 10:38:28 +0000 (+0100) Subject: Re: 5.10.0 test hangs on non internet access X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6c7ff7263d043874d08f20e35bb78bd38b5e037b;p=p5sagit%2Fp5-mst-13.2.git Re: 5.10.0 test hangs on non internet access From: "Jos I. Boumans" Message-Id: <22589E6E-1C9D-4C1F-8642-A690904193C7@dwim.org> p4raw-id: //depot/perl@32233 --- diff --git a/lib/CPANPLUS/Dist/Build/t/02_CPANPLUS-Dist-Build.t b/lib/CPANPLUS/Dist/Build/t/02_CPANPLUS-Dist-Build.t index 490420e..de0b460 100644 --- a/lib/CPANPLUS/Dist/Build/t/02_CPANPLUS-Dist-Build.t +++ b/lib/CPANPLUS/Dist/Build/t/02_CPANPLUS-Dist-Build.t @@ -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' );