Stas Bekman wrote:

>The uploaded file
>
>     mod_perl-2.0.0-RC6.tar.gz
>
>has entered CPAN
>
Almost all OK on Win32 (Apache 2.0.54 and a recent bleadperl).  Main 
tests are all successful, but ModPerl-Registry tests failed 404.t test 1 
and redirect.t test 2.

The 404.t test gives the following verbose output:

t\404....1..2
# Running under perl version 5.009003 for MSWin32
# Current time local: Wed May  4 11:19:42 2005
# Current time GMT:   Wed May  4 10:19:42 2005
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.23
# Failed test 1 in t\404.t at line 14
# testing : test ErrorDocument
# expected: Oops, can't find the requested doc
# received:
not ok 1
# testing : the script has changed the status to 404
# expected: 404
# received: 404
ok 2

and writes this (only to the error_log: "*** The following error entry 
is expected and harmless ***".  The access_log seems to show a 200/OK 
rather than a 404:

127.0.0.1 - - [04/May/2005:11:28:35 +0100] "GET /index.html HTTP/1.0" 
200 956
127.0.0.1 - - [04/May/2005:11:28:37 +0100] "GET 
/error_document/cannot_be_found HTTP/1.0" 200 -
127.0.0.1 - - [04/May/2005:11:28:37 +0100] "GET 
/registry/status_change.pl HTTP/1.0" 404 223

Is that what's expected?

The redirect.t test outputs:

t\redirect....1..4
# Running under perl version 5.009003 for MSWin32
# Current time local: Wed May  4 11:21:31 2005
# Current time GMT:   Wed May  4 10:21:31 2005
# Using Test.pm version 1.25
# Using Apache/Test.pm version 1.23
# testing : test redirect: existing target
# expected: ok 
C:/apache2/source/mod_perl-2.0.0-RC6/ModPerl-Registry/t/cgi-bin/basic.pl
# received: ok 
C:/apache2/source/mod_perl-2.0.0-RC6/ModPerl-Registry/t/cgi-bin/basic.pl
ok 1
# Failed test 2 in t\redirect.t at line 32
# testing : test redirect: non-existing target
# expected: 404
# received: 200
not ok 2
# testing : test Registry style redirect: status
# expected: 302
# received: 302
ok 3
# testing : test Registry style redirect: cookie
# expected: mod_perl=ubercool; path=/
# received: mod_perl=ubercool; path=/
ok 4

and writes the same message as before (only) into the error_log.  The 
access_log again shows a 200/OK rather than a 404 as expected following 
the 302:

127.0.0.1 - - [04/May/2005:11:32:55 +0100] "GET /index.html HTTP/1.0" 
200 956
127.0.0.1 - - [04/May/2005:11:32:57 +0100] "GET 
/registry/redirect.pl?/registry/basic.pl HTTP/1.0" 302 223
127.0.0.1 - - [04/May/2005:11:32:58 +0100] "GET /registry/basic.pl 
HTTP/1.0" 200 75
127.0.0.1 - - [04/May/2005:11:32:58 +0100] "HEAD 
/registry/redirect.pl?/registry/does_not_exists.pl HTTP/1.0" 302 -
127.0.0.1 - - [04/May/2005:11:32:58 +0100] "HEAD 
/registry/does_not_exists.pl HTTP/1.0" 200 -
127.0.0.1 - - [04/May/2005:11:32:58 +0100] "HEAD 
/registry/redirect-cookie.pl?/registry/basic.pl HTTP/1.0" 302 -

Any ideas?

- Steve


------------------------------------------------
Radan Computational Ltd.

The information contained in this message and any files transmitted with it are 
confidential and intended for the addressee(s) only.  If you have received this 
message in error or there are any problems, please notify the sender 
immediately.  The unauthorized use, disclosure, copying or alteration of this 
message is strictly forbidden.  Note that any views or opinions presented in 
this email are solely those of the author and do not necessarily represent 
those of Radan Computational Ltd.  The recipient(s) of this message should 
check it and any attached files for viruses: Radan Computational will accept no 
liability for any damage caused by any virus transmitted by this email.

Reply via email to