perl-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred Moyer <f...@taperfriendlymusic.org>
Subject [patch] mod_alias needed to run t/cookies.t
Date Fri, 16 Nov 2007 14:48:02 GMT
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 => {} );

Mime
View raw message