Stas Bekman wrote:

 > 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

In fact this works with 'make test' but it cannot find Apache when
running certain tests stanalone, (e.g. t/TEST -v apr/perlio not
committed yet).

-- 


_____________________________________________________________________
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]

Reply via email to