You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-dev@httpd.apache.org by Rodent of Unusual Size <Ke...@Golux.Com> on 2002/01/06 15:03:25 UTC

Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfig.pm

Stas Bekman wrote:
> 
> OK, I got you. So we should make sure that the test suite will never
> leave the server running when the testing is done.

Bingo.

> Currently if for some reason this happens, harness will tell
> you that it has failed to stop the server.

I am not sure that is actually the case, although your recent
changes may have made it so.

> What are the alternative, keeping on trying to kill the server
> indefinitely?

Just exit with an error status.  Perhaps a spectrum of such
exit values should be defined so a script can tell *what*
aspect of the testing failed.
-- 
#ken	P-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist      http://Apache-Server.Com/

"All right everyone!  Step away from the glowing hamburger!"

Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfig.pm

Posted by Stas Bekman <st...@stason.org>.
Rodent of Unusual Size wrote:

> Stas Bekman wrote:
> 
>>OK, I got you. So we should make sure that the test suite will never
>>leave the server running when the testing is done.
>>
> 
> Bingo.
> 
> 
>>Currently if for some reason this happens, harness will tell
>>you that it has failed to stop the server.
>>
> 
> I am not sure that is actually the case, although your recent
> changes may have made it so.


I think at least in the cases when the server fails to start right away. 
Let me know whether it's getting any better.

In any case please send the reproducable examples of the harness not 
killing the server and will fix those. Thanks!


>>What are the alternative, keeping on trying to kill the server
>>indefinitely?
>>
> 
> Just exit with an error status.  Perhaps a spectrum of such
> exit values should be defined so a script can tell *what*
> aspect of the testing failed.

I think this happens already.

_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/