Upgrade to CPANPLUS-0.82
[p5sagit/p5-mst-13.2.git] / lib / CPANPLUS / t / inc / conf.pl
index cb0c649..497a912 100644 (file)
@@ -104,7 +104,11 @@ use constant TEST_CONF_MIRROR_DIR       => 'dummy-localmirror';
 
 
 sub gimme_conf { 
-    my $conf = CPANPLUS::Configure->new();
+
+    ### don't load any other configs than the heuristic one
+    ### during tests. They might hold broken/incorrect data
+    ### for our test suite. Bug [perl #43629] showed this.
+    my $conf = CPANPLUS::Configure->new( load_configs => 0 );
     $conf->set_conf( hosts  => [ { 
                         path        => 'dummy-CPAN',
                         scheme      => 'file',