You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Steve Hay <st...@uk.radan.com> on 2004/01/22 14:36:07 UTC

[PATCH mp2] Fix compat/apache.t failures on Win32

The attached patch fixes these failures on Win32:

C:\Temp\modperl-2.0>perl t/TEST compat/apache.t -verbose
C:\apache2\bin\Apache.EXE -d C:/Temp/modperl-2.0/t -f 
C:/Temp/modperl-2.0/t/conf
/httpd.conf -DAPACHE2 -DPERL_USEITHREADS
using Apache/2.0.48 (winnt MPM)

waiting 180 seconds for server to start: ..[Thu Jan 22 13:32:25 2004] 
[info] 27
Apache:: modules loaded
[Thu Jan 22 13:32:25 2004] [info] 5 APR:: modules loaded
[Thu Jan 22 13:32:25 2004] [info] base server + 15 vhosts ready to run tests
...........................................
waiting 180 seconds for server to start: ok (waited 44 secs)
server localhost:8529 started
server localhost:8530 listening (TestModperl::perl_options)
server localhost:8531 listening (TestVhost::basic)
server localhost:8532 listening (TestProtocol::echo)
server localhost:8533 listening (TestProtocol::echo_filter)
server localhost:8534 listening (TestProtocol::eliza)
server localhost:8535 listening (TestPreConnection::note)
server localhost:8536 listening (TestHooks::stacked_handlers2)
server localhost:8537 listening (TestHooks::startup)
server localhost:8538 listening (TestFilter::both_str_con_add)
server localhost:8539 listening (TestFilter::in_bbs_inject_header)
server localhost:8540 listening (TestFilter::in_bbs_msg)
server localhost:8541 listening (TestFilter::in_str_msg)
server localhost:8542 listening (TestDirective::perlmodule)
server localhost:8543 listening (TestDirective::perlrequire)
server localhost:8544 listening (TestPerl::ithreads)
server localhost:8545 listening (TestDirective::perlloadmodule3)
server localhost:8546 listening (TestDirective::perlloadmodule4)
server localhost:8547 listening (TestDirective::perlloadmodule5)
server localhost:8548 listening (TestDirective::perlloadmodule6)
compat/apache....1..16
# Running under perl version 5.008003 for MSWin32
# Current time local: Thu Jan 22 13:33:01 2004
# Current time GMT:   Thu Jan 22 13:33:01 2004
# Using Test.pm version 1.24
# testing : Apache->gensym
# expected: GLOB
# received: GLOB
ok 1
# testing : Apache::module('mod_perl.c')
# expected: 1
# received: 1
ok 2
# testing : Apache::module('mod_ne_exists.c')
# expected: 0
# received: 0
ok 3
# testing : Apache->define
# expected: 1
# received: 1
ok 4
# testing : inside PerlResponseHandler
# expected: PerlResponseHandler
# received: PerlResponseHandler
ok 5
ok 6
# testing : DIR_MAGIC_TYPE
# expected: httpd/unix-directory
# received: httpd/unix-directory
ok 7
# testing : REDIRECT
# expected: 302
# received: 302
ok 8
# testing : AUTH_REQUIRED
# expected: 401
# received: 401
ok 9
# testing : OK
# expected: 0
# received: 0
ok 10
# testing : Apache->httpd_conf
# expected: foo@bar.com
# received: foo@bar.com
ok 11
# testing : $Apache::Server::CWD
# expected: C:\Temp\modperl-2.0\t
# received: C:\Temp\modperl-2.0\t
ok 12
# testing : $r->server_root_relative()
# expected: C:\Temp\modperl-2.0\t
# received: C:\Temp\modperl-2.0\t
ok 13
# testing : $r->server_root_relative('conf')
# expected: C:\Temp\modperl-2.0\t\conf
# received: C:/Temp/modperl-2.0/t/conf
not ok 14
# testing : Apache->server_root_relative('conf')
# expected: C:\Temp\modperl-2.0\t\conf
# received: C:/Temp/modperl-2.0/t/conf
not ok 15
# testing : Apache->server_root_relative()
# expected: C:\Temp\modperl-2.0\t
# received: C:\Temp\modperl-2.0\t
ok 16
FAILED tests 14-15
        Failed 2/16 tests, 87.50% okay
Failed Test     Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
compat/apache.t               16    2  12.50%  14-15
*** server localhost:8529 shutdown
!!! error running tests (please examine t\logs\error_log)



------------------------------------------------
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.