httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: perl-framework: mod_dav but not mod_dav?
Date Tue, 04 Dec 2001 18:30:58 GMT
Doug MacEachern wrote:

> On Tue, 4 Dec 2001, Stas Bekman wrote:
>  
> 
>>Actually, we don't have to run -t to test for failure, since the normal 
>>execution fails as well and for all cases (not only syntax errors). The 
>>problem is that we run:
>>
>>   system "command &";
>>
> 
> we can run "$cmd -t|" before that and check if the output contains
> "Syntax OK" or not.

ok, but that catches only syntax errors. if we can catch the return 
status from system() we can catch all errors, causing the failure.


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


Mime
View raw message