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
authorJos I. Boumans <kane@dwim.org>
Wed, 7 Nov 2007 10:38:28 +0000 (11:38 +0100)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Wed, 7 Nov 2007 10:14:24 +0000 (10:14 +0000)
From: "Jos I. Boumans" <jos@dwim.org>
Message-Id: <22589E6E-1C9D-4C1F-8642-A690904193C7@dwim.org>

p4raw-id: //depot/perl@32233

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' );