John Saylor wrote:

when i run make test i keep getting errors like this:

[Tue Nov 25 17:12:11 2003] [error] Can't locate My/child_init.pm in @INC
[...]
it's all in the mod_perl tests. this is not my code at all! this is the
part where the webserver starts up before doing the mod_perl testing. i
give the command:
make test

Aha! Sorry for missing this point. Any luck with this patch?


Index: t/docs/startup.pl
===================================================================
RCS file: /home/cvs/modperl/t/docs/startup.pl,v
retrieving revision 1.44
diff -u -r1.44 startup.pl
--- t/docs/startup.pl   23 May 2002 03:07:27 -0000      1.44
+++ t/docs/startup.pl   26 Nov 2003 18:41:25 -0000
@@ -142,7 +142,7 @@
 @MyClass::ISA = qw(BaseClass);

 #testing child init/exit hooks
-
+$INC{"My.pm"} = __FILE__;
 sub My::child_init {
     my $r = shift;
     eval {


__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com


-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to