httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: are perl-framework apache tests still used?
Date Fri, 07 Feb 2003 08:30:48 GMT
On Fri, Feb 07, 2003 at 03:34:55PM +1100, Stas Bekman wrote:
> I haven't seen any activity with maintaining tests in a while and I have a 
> bunch of ssl tests failing. I remember Ryan working on a new test suite. 
> What's the current status of things? Should Joe's new php tests be 
> committed?
> 
> These fail for me:
> ssl/basicauth.t                3    1  33.33%  2
> ssl/http.t       255 65280     2    2 100.00%  1-2
> ssl/proxy.t                  169    5   2.96%  113-117
> ssl/varlookup.t               72    4   5.56%  38-39 52-53
> 5 tests and 6 subtests skipped.

The varlookup.t tests fail if you use OpenSSL 0.9.7, since it uses the
string "emailAddress" not "Email" for an e-mail attribute in a DN. I
hacked round this by just removing the e-mail attributes from the DN.

--- perl-framework/Apache-Test/lib/Apache/TestSSLCA.pm.os097	2003-01-28 15:08:50.000000000
+0000
+++ perl-framework/Apache-Test/lib/Apache/TestSSLCA.pm	2003-01-28 15:11:52.000000000 +0000
@@ -44,7 +44,6 @@
         O  => 'ASF',
         OU => 'httpd-test',
         CN => '',
-        Email => 'test-dev@httpd.apache.org',
     },
 };
 
@@ -132,7 +131,7 @@
 
     my $string = "";
 
-    for my $k (qw(C ST L O OU CN Email)) {
+    for my $k (qw(C ST L O OU CN)) {
         next unless $dn->{$k};
         $string .= "/$k=$dn->{$k}";
     }
@@ -185,7 +184,6 @@
 O                      = $dn->{O}
 OU                     = $dn->{OU}
 CN                     = $dn->{CN}
-emailAddress           = $dn->{Email}
 
 [ req_attributes ]
 challengePassword      = $pass

Mime
View raw message