httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
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      mod_perl Guide

View raw message