httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1032016 - in /httpd/test/framework/trunk/t: conf/ssl/ssl.conf.in ssl/require.t
Date Sat, 06 Nov 2010 12:02:06 GMT
Author: sf
Date: Sat Nov  6 12:02:05 2010
New Revision: 1032016

URL: http://svn.apache.org/viewvc?rev=1032016&view=rev
Log:
Add some more tests for SSLRequire to check compatibility after switching
to ap_expr

Modified:
    httpd/test/framework/trunk/t/conf/ssl/ssl.conf.in
    httpd/test/framework/trunk/t/ssl/require.t

Modified: httpd/test/framework/trunk/t/conf/ssl/ssl.conf.in
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/conf/ssl/ssl.conf.in?rev=1032016&r1=1032015&r2=1032016&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/conf/ssl/ssl.conf.in (original)
+++ httpd/test/framework/trunk/t/conf/ssl/ssl.conf.in Sat Nov  6 12:02:05 2010
@@ -86,6 +86,8 @@
         Alias /require/asf        @DocumentRoot@
         Alias /require/snakeoil   @DocumentRoot@
         Alias /require/certext    @DocumentRoot@
+        Alias /require/strcmp     @DocumentRoot@
+        Alias /require/intcmp     @DocumentRoot@
         Alias /ssl-fakebasicauth  @DocumentRoot@
         Alias /ssl-fakebasicauth2 @DocumentRoot@
         Alias /ssl-cgi            @DocumentRoot@/modules/cgi
@@ -124,6 +126,16 @@
             </IfVersion>
         </Location>
 
+        <Location /require/strcmp>
+            SSLRequire "a" < "b"
+            SSLRequire "a" lt "b"
+        </Location>
+
+        <Location /require/intcmp>
+            SSLRequire 2 < 10
+            SSLRequire 2 lt 10
+        </Location>
+
         <Location /ssl-cgi>
             SSLOptions +StdEnvVars
         </Location>

Modified: httpd/test/framework/trunk/t/ssl/require.t
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/ssl/require.t?rev=1032016&r1=1032015&r2=1032016&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/ssl/require.t (original)
+++ httpd/test/framework/trunk/t/ssl/require.t Sat Nov  6 12:02:05 2010
@@ -13,7 +13,7 @@ Apache::TestRequest::user_agent_keepaliv
 my $sslrequire_oid_needed_version = '2.1.7';
 my $have_sslrequire_oid = have_min_apache_version($sslrequire_oid_needed_version);
 
-plan tests => 8, need_lwp;
+plan tests => 10, need_lwp;
 
 Apache::TestRequest::scheme('https');
 
@@ -31,6 +31,10 @@ ok GET_RC($url, cert => 'client_ok') != 
 
 ok GET_RC($url, cert => 'client_snakeoil') == 200;
 
+ok GET_RC('/require/strcmp/index.html', cert => undef) == 200;
+
+ok GET_RC('/require/intcmp/index.html', cert => undef) == 200;
+
 if ($have_sslrequire_oid) {
 
     $url = '/require/certext/index.html';



Mime
View raw message