stas 2003/01/21 22:54:03 Modified: t/response/TestAPR threadmutex.pm Log: we really want to skip this test when threads are disabled. If the threads are enabled and the module is not there, require() will kill test which is a goodness Revision Changes Path 1.4 +1 -1 modperl-2.0/t/response/TestAPR/threadmutex.pm Index: threadmutex.pm =================================================================== RCS file: /home/cvs/modperl-2.0/t/response/TestAPR/threadmutex.pm,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- threadmutex.pm 21 Jan 2003 06:54:22 -0000 1.3 +++ threadmutex.pm 22 Jan 2003 06:54:03 -0000 1.4 @@ -12,7 +12,7 @@ sub handler { my $r = shift; - plan $r, tests => 3, have 'APR::ThreadMutex'; + plan $r, tests => 3, have_threads; require APR::ThreadMutex;