You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-dev@perl.apache.org by Fred Moyer <fr...@taperfriendlymusic.org> on 2007/11/16 15:48:02 UTC

[patch] mod_alias needed to run t/cookies.t

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 => {} );

Re: [patch] mod_alias needed to run t/cookies.t

Posted by Geoffrey Young <ge...@modperlcookbook.org>.

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