stas 2003/04/30 23:22:18
Modified: perl-framework/Apache-Test/lib/Apache TestConfigPerl.pm
Log:
improved support for 3rd party modules test configuration setup:
automatically add 'use Apache2' in the startup file for mod_perl 2.0.
Revision Changes Path
1.73 +2 -0
httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigPerl.pm
Index: TestConfigPerl.pm
===================================================================
RCS file:
/home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigPerl.pm,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- TestConfigPerl.pm 30 Apr 2003 05:03:36 -0000 1.72
+++ TestConfigPerl.pm 1 May 2003 06:22:18 -0000 1.73
@@ -151,6 +151,8 @@
for (reverse @$inc) {
print $fh "use lib '$_';\n";
}
+ my $fixup = Apache::TestConfig->modperl_2_inc_fixup();
+ print $fh $fixup;
print $fh "1;\n";
}