perl-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: [patch] mod_alias needed to run t/cookies.t
Date Fri, 16 Nov 2007 14:55:18 GMT


Fred Moyer wrote:
> t/cookies.t fails if mod_alias is not installed, since ScriptAlias is used:
> 
>   ScriptAlias /cgi-bin/ "@ServerRoot@/cgi-bin/"
> 
> Index: t/cookies.t
> ===================================================================
> --- t/cookies.t (revision 595664)
> +++ t/cookies.t (working copy)
> @@ -8,7 +8,7 @@
>  use Apache::TestUtil;
> 
>  plan tests => 2, need [qw(CGI CGI::Cookie)],
> -                      need_cgi, need_lwp;
> +                      need_cgi, need_lwp, need need_module('mod_alias.c');
> 
>  Apache::TestRequest::user_agent( cookie_jar => {} );

+1

--Geoff

Mime
View raw message