I've tested mod_perl 2.0 under 5.6.1 and here are the two noticed
problems:
[Mon Dec 10 16:33:59 2001] [error] [client 127.0.0.1] Undefined
subroutine &ModPerl::Util::exit called at
/home/stas/apache.org/mp-perlio/Apache-Test/lib/Apache/Test.pm line 132.
This patch seems to fix it (tested with 5.6.1 and bleadperl):
Index: Apache-Test/lib/Apache/Test.pm
===================================================================
RCS file:
/home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/Test.pm,v
retrieving revision 1.39
diff -u -r1.39 Test.pm
--- Apache-Test/lib/Apache/Test.pm 2001/12/07 19:27:07 1.39
+++ Apache-Test/lib/Apache/Test.pm 2001/12/10 08:19:39
@@ -129,7 +129,7 @@
my $reason = join ', ',
@SkipReasons ? @SkipReasons : "no reason given";
print "1..0 # skipped: $reason\n";
- exit; #XXX: Apache->exit
+ Apache->exit;
}
}
@SkipReasons = (); # reset
--------------
Any of these combinations:
t/TEST modperl/sameinterp modules/cgi
t/TEST hooks/access modules/cgi
t/TEST protocol/eliza modules/cgi
t/TEST modperl/readline modules/cgi
causes modules/cgi to fail with:
# testing : POST /TestModules::cgi
# PARAM=%33
# expected: 'ok 3'
# received: 'no param or upload data
# '
not ok 2
it doesn't happen with a standalone modules/cgi test
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]