perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Kobes <ra...@theoryx5.uwinnipeg.ca>
Subject [mp2] pseudo_http test
Date Mon, 05 Jul 2004 17:08:48 GMT
On my linux system, I've disabled a number of loaded
modules, in particular mod_auth, but not mod_access. The
recent protocol/pseudo_http test fails on this setup (in
fact, the tests don't start, as there's an unknown directive
AuthUserFile used), as I think because it's set up to run if
mod_access is available, but it instead needs mod_auth. This
patch:
========================================================
Index: t/protocol/pseudo_http.t
===================================================================
RCS file: /home/cvs/modperl-2.0/t/protocol/pseudo_http.t,v
retrieving revision 1.1
diff -u -r1.1 pseudo_http.t
--- t/protocol/pseudo_http.t	5 Jul 2004 01:36:47 -0000	1.1
+++ t/protocol/pseudo_http.t	5 Jul 2004 16:59:12 -0000
@@ -18,7 +18,7 @@
 my $passgood = "foobar";
 my $passbad  = "foObaR";

-plan tests => 13, have_access;
+plan tests => 13, have_auth;

 {
     # supply correct credential when prompted for such and ask the
Index: t/protocol/TestProtocol/pseudo_http.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/t/protocol/TestProtocol/pseudo_http.pm,v
retrieving revision 1.1
diff -u -r1.1 pseudo_http.pm
--- t/protocol/TestProtocol/pseudo_http.pm	5 Jul 2004 01:36:47 -0000	1.1
+++ t/protocol/TestProtocol/pseudo_http.pm	5 Jul 2004 16:59:13 -0000
@@ -136,7 +136,7 @@
     PerlProcessConnectionHandler TestProtocol::pseudo_http

     <Location TestProtocol::pseudo_http>
-        <IfModule mod_access.c>
+        <IfModule mod_auth.c>
             Order Deny,Allow
             Allow from @servername@
             Require user stas

================================================================
skips it for me.

-- 
best regards,
randy

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


Mime
View raw message