httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1031964 - /httpd/test/framework/trunk/t/modules/aaa.t
Date Sat, 06 Nov 2010 06:42:04 GMT
Author: sf
Date: Sat Nov  6 06:42:04 2010
New Revision: 1031964

URL: http://svn.apache.org/viewvc?rev=1031964&view=rev
Log:
skip mod_auth_form tests if mod_session_cookie is missing

Modified:
    httpd/test/framework/trunk/t/modules/aaa.t

Modified: httpd/test/framework/trunk/t/modules/aaa.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/modules/aaa.t?rev=1031964&r1=1031963&r2=1031964&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/modules/aaa.t (original)
+++ httpd/test/framework/trunk/t/modules/aaa.t Sat Nov  6 06:42:04 2010
@@ -102,7 +102,11 @@ foreach my $t (qw/basic digest/) {
 #
 # Form based authentication works a bit differently
 #
-if (exists $do_tests{form}) {
+if (exists $do_tests{form} && !have_module("mod_session_cookie")) {
+    skip("skipping mod_auth_form tests (mod_session_cookie required)")
+    	for (1 .. $do_tests{form});
+}
+elsif (exists $do_tests{form}) {
     $type = 'form';
     my $url   = "/authz/$type/index.html";
     my $login_form_url='/authz/login.html';



Mime
View raw message