perl-test-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r219274 - /perl/Apache-Test/trunk/lib/Apache/TestRunPerl.pm
Date Sat, 16 Jul 2005 01:21:14 GMT
Author: geoff
Date: Fri Jul 15 18:21:12 2005
New Revision: 219274

URL: http://svn.apache.org/viewcvs?rev=219274&view=rev
Log:
make sure mp2 loading doesn't make it impossible to view
mp1 runs.  thanks to matt sergeant

Modified:
    perl/Apache-Test/trunk/lib/Apache/TestRunPerl.pm

Modified: perl/Apache-Test/trunk/lib/Apache/TestRunPerl.pm
URL: http://svn.apache.org/viewcvs/perl/Apache-Test/trunk/lib/Apache/TestRunPerl.pm?rev=219274&r1=219273&r2=219274&view=diff
==============================================================================
--- perl/Apache-Test/trunk/lib/Apache/TestRunPerl.pm (original)
+++ perl/Apache-Test/trunk/lib/Apache/TestRunPerl.pm Fri Jul 15 18:21:12 2005
@@ -49,6 +49,11 @@
     my $ver = $test_config->server->{version};
 
     # sanity checking and loading the right mod_perl version
+
+    # remove mod_perl.pm from %INC so that the below require()
+    # calls accurately populate $mp_ver
+    delete $INC{'mod_perl.pm'};
+
     if ($rev == 2) {
         eval { require mod_perl2 };
     } else {



Mime
View raw message