Author: kane
Date: Tue Nov 6 04:03:16 2007
New Revision: 10165
Modified:
CPANPLUS-Dist-Build/ (props changed)
CPANPLUS-Dist-Build/trunk/t/02_CPANPLUS-Dist-Build.t
Log:
[EMAIL PROTECTED]: josboum | 2007-11-06 13:03:18 +0100
* with cpanplus 0.83_08, dslip information is being retrieved from any
module defined in the package. Missing dslip info therefor uses the
module tree, which we are trying to avoid in the test suite.
So, we define the dslip info explicitly and no module trees are being
used.
Modified: CPANPLUS-Dist-Build/trunk/t/02_CPANPLUS-Dist-Build.t
==============================================================================
--- CPANPLUS-Dist-Build/trunk/t/02_CPANPLUS-Dist-Build.t (original)
+++ CPANPLUS-Dist-Build/trunk/t/02_CPANPLUS-Dist-Build.t Tue Nov 6
04:03:16 2007
@@ -39,11 +39,15 @@
### 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' );