Author: BINGOS
Date: Mon Oct 25 15:45:28 2010
New Revision: 14505
Modified:
CPANPLUS-Dist-Build/trunk/t/02_CPANPLUS-Dist-Build.t
Log:
Clear M::B relevant env vars during the install test
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 Mon Oct 25
15:45:28 2010
@@ -145,7 +145,10 @@
SKIP: {
skip("Install tests require Module::Build 0.2606 or higher", 2)
unless $Module::Build::VERSION >= '0.2606';
-
+
+ local $ENV{MODULEBUILDRC};
+ local $ENV{PERL_MB_OPT};
+
### flush the lib cache
### otherwise, cpanplus thinks the module's already installed
### since the blib is already in @INC