perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [mp2] tests w/o mod_auth
Date Wed, 16 Jun 2004 07:57:49 GMT
Randy Kobes wrote:
> On my linux system, mod_auth isn't loaded in the system
> httpd.conf, and consequently the following subtests
> fail:
>    compat/conn_authen: 1
>    directive/perl:     3 7
>    hooks/authen:       3
> (the error log reports
>   Configuration error: couldn't check access. No groups file?
> which is a bit confusing). One could skip all the tests by
>     plan tests => x, (\&have_lwp && have_auth);
> but would it be better to only skip those subtests that
> require mod_auth when mod_auth isn't available?  If the
> latter, is the best way to skip a subtest done as in, eg,
> use of skip_not_same_interp() of t/modperl/sameinterp.t?

A quick glance shows that all 3 tests deal mostly with auth, so it's probably 
just fine to add have_auth.

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message