httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: are perl-framework apache tests still used?
Date Fri, 07 Feb 2003 07:04:29 GMT
William A. Rowe, Jr. wrote:
> AHHH... you are confusing apr/test (Ryan's ongoing efforts, even apart
> from the apr group) which tests internal functions, with perl-testsuite,
> which tests behavior of the server.
> 
> If Joe's tests work - commit them :-)

I don't have php installed. Preferrably, someone who can test them first, will 
commit them. Otherwise I can commit without testing, though they need some 
cleanup (use hardcoded / path separator is not crossplatform)...

> And the tests you cite... ssl/http.t is expected to fail today, mod_ssl once
> provided HTTP/1.0 responses, irrespective of ass-backwards requests
> (those that are pre HTTP/1.0, where the request is simply GET /foo with
> no version tag), while it now provides an HTTP/0.9 response (no headers.)
> Both behaviors are wrong, and the thorough solution isn't quite trivial, but
> we expect to implement good behavior RSN (so we look at the request
> and then emit the correct HTTP/1.0 or 0.9 response.)
> 
> The others concern me... -verbose feedback would be helpful.
> 
> Is this apache 2.0.45-dev or 2.1.0-dev?

2.1.0-dev from a few day ago. I will try again later with the latest cvs, but 
for now:

I've extracted the output of only failing sub-tests:

ssl/basicauth....1..3

# testing : Getting /ssl-fakebasicauth/index.html with client_snakeoil cert
# expected: 200
# received: '401'
# Failed test 2 in ssl/basicauth.t at line 25
not ok 2



ssl/proxy........1..169

# testing : using valid proxyssl client cert
# expected: 200
# received: '502'
# Failed test 113 in 
/home/stas/apache.org/httpd-test/perl-framework/Apache-Test/lib/Apache/Test.pm 
at line 47 fail #113
# 
/home/stas/apache.org/httpd-test/perl-framework/Apache-Test/lib/Apache/Test.pm 
line 47 is:     ok $sub->();
not ok 113
# testing : using invalid proxyssl client cert
# expected: 403
# received: '502'
# Failed test 114 in 
/home/stas/apache.org/httpd-test/perl-framework/Apache-Test/lib/Apache/Test.pm 
at line 47 fail #114
not ok 114
# testing : protected cgi script
# expected: 200
# received: '502'
# Failed test 115 in 
/home/stas/apache.org/httpd-test/perl-framework/Apache-Test/lib/Apache/Test.pm 
at line 47 fail #115
not ok 115
# testing : X-Forwarded-Host header
# expected: 'localhost.localdomain:8537'
# Failed test 116 in 
/home/stas/apache.org/httpd-test/perl-framework/Apache-Test/lib/Apache/Test.pm 
at line 47 fail #116
# received: undef
not ok 116
# testing : client subject common name
# Failed test 117 in 
/home/stas/apache.org/httpd-test/perl-framework/Apache-Test/lib/Apache/Test.pm 
at line 47 fail #117
# expected: 'client_ok'
# received: undef
not ok 117


ssl/varlookup....1..72


# testing : SSL_CLIENT_S_DN
# expected: '/C=US/ST=California/L=San 
Francisco/O=ASF/OU=httpd-test/CN=client_ok/Email=test-dev@httpd.apache.org'
# Failed test 38 in 
/home/stas/apache.org/httpd-test/perl-framework/Apache-Test/lib/Apache/Test.pm 
at line 47 fail #38
# 
/home/stas/apache.org/httpd-test/perl-framework/Apache-Test/lib/Apache/Test.pm 
line 47 is:     ok $sub->();
# received: '/C=US/ST=California/L=San 
Francisco/O=ASF/OU=httpd-test/CN=client_ok/emailAddress=test-dev@httpd.apache.org'
not ok 38
# testing : SSL_SERVER_S_DN
# expected: qr/(?-xism:^\/C=US\/ST=California\/L=San 
Francisco\/O=ASF\/OU=httpd-test\/([-\w]+)\/CN=localhost\/Email=test-dev@httpd.apache.org$)/
# received: '/C=US/ST=California/L=San 
Francisco/O=ASF/OU=httpd-test/rsa-test/CN=localhost/emailAddress=test-dev@httpd.apache.org'
# Failed test 39 in 
/home/stas/apache.org/httpd-test/perl-framework/Apache-Test/lib/Apache/Test.pm 
at line 47 fail #39
not ok 39




# testing : SSL_CLIENT_I_DN
# expected: '/C=US/ST=California/L=San 
Francisco/O=ASF/OU=httpd-test/CN=ca/Email=test-dev@httpd.apache.org'
# received: '/C=US/ST=California/L=San 
Francisco/O=ASF/OU=httpd-test/CN=ca/emailAddress=test-dev@httpd.apache.org'
# Failed test 52 in 
/home/stas/apache.org/httpd-test/perl-framework/Apache-Test/lib/Apache/Test.pm 
at line 47 fail #52
not ok 52
# testing : SSL_SERVER_I_DN
# expected: '/C=US/ST=California/L=San 
Francisco/O=ASF/OU=httpd-test/CN=ca/Email=test-dev@httpd.apache.org'
# Failed test 53 in 
/home/stas/apache.org/httpd-test/perl-framework/Apache-Test/lib/Apache/Test.pm 
at line 47 fail #53
# received: '/C=US/ST=California/L=San 
Francisco/O=ASF/OU=httpd-test/CN=ca/emailAddress=test-dev@httpd.apache.org'
not ok 53




__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Mime
View raw message