httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <>
Subject Re: [patch] Re: Apache-Test breakage
Date Thu, 18 Oct 2001 19:00:27 GMT
On Thu, 18 Oct 2001, Stas Bekman wrote:
> So it works when you run ./t/TEST, but when you run 'make test', for 
> some reason Makefile doesn't abort on exit from test_clean target, no 
> matter if I put exit -1, 0 or 1, and proceeds with run_tests target. 
> Does that have anything to do with the installed __DIE__ sighandler?

probably, since __DIE__ will stop the server.  where did you put the
exit(1) call?  i think it should work in the __DIE__ handler.
> I suggest to review the code and get rid of the __DIE__ sighandler all 
> together and instead wrap the relevant pieces of code in eval block. Are 
> there any exception handling modules bundled in the core?

if you can switch to eval {} that would be fine.
> In any case I think this patch can be committed without relation to the 
> __DIE__ issue.

looks good, +1

View raw message