Steve Hay wrote:
Stas Bekman wrote:


Steve Hay wrote:



So the offending SV is an error message itself, caused by the exit in these lines in Apache/Test.pm:

# trying to emulate a dual variable (ala errno)
unless ($meets_condition) {
my $reason = join ', ',
@SkipReasons ? @SkipReasons : "no reason given";
print "1..0 # skipped: $reason\n";
@SkipReasons = (); # reset
exit; #XXX: Apache->exit
}



Any difference if you call CORE::exit() here?


Oh yes! That kills the server itself! i.e. api.t now crashes the server in the course of executing its test plan, and ithreads doesn't even have a server to play with :(

Crashes? CORE::exit() works fine here (happened to work fine?). I guess it should be a problem since it'll kill any other running threads.


--
__________________________________________________________________
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