Nick Tonkin wrote:
On Mon, 20 Jan 2003, Stas Bekman wrote:


Nick Tonkin wrote:

apr/threadmutex..............FAILED tests 1-3 Failed 3/3 tests, 0.00% okay
[...]

Thanks Nick and Andrew for debugging on this one. I was able to reproduce the problem by turning APR_HAS_THREADS off in apr.h and rebuilding mod_perl. It's OK that APR::ThreadMutex is not copied. The test wasn't doing the right checking, the following should fix it (committed to cvs):

Index: t/response/TestAPR/threadmutex.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/t/response/TestAPR/threadmutex.pm,v
retrieving revision 1.2
diff -u -r1.2 threadmutex.pm
--- t/response/TestAPR/threadmutex.pm 23 Jun 2002 22:14:26 -0000 1.2
+++ t/response/TestAPR/threadmutex.pm 21 Jan 2003 06:51:47 -0000
@@ -12,7 +12,7 @@
sub handler {
my $r = shift;

- plan $r, tests => 3, 'APR::ThreadMutex';
+ plan $r, tests => 3, have 'APR::ThreadMutex';

require APR::ThreadMutex;


__________________________________________________________________
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to