Stas,

Successfully installed LWP.  I am receiving the following error when
running "make test"
cgi................ok 1/2# Failed test 2 in cgi.t at line 19
cgi................FAILED test 2
        Failed 1/2 tests, 50.00% okay


Running the TEST -v command on ../ModPerl-Registry/t/cgi.t gives me the
following error:

../ModPerl-Registry/t/cgi....1..2
# testing : test 'Content-type header setting
# expected: qr/(?-xism:^text\/html)/
# received: 'text/html; charset=iso-8859-1'
ok 1
# testing : test body
# expected: '<b>done</b>'
# Failed test 2 in ../ModPerl-Registry/t/cgi.t at line 19
# received: '<!doctype html public "-//ietf//dtd html 2.0//en">
# <html><head>
# <title>404 not found</title>
# </head><body>
# <h1>not found</h1>
# <p>the requested url /registry/cgi.pl was not found on this
server.</p>
# </body></html>
# '
not ok 2
FAILED test 2
        Failed 1/2 tests, 50.00% okay
Failed Test                 Stat Wstat Total Fail  Failed  List of
Failed
------------------------------------------------------------------------
-------
../ModPerl-Registry/t/cgi.t                2    1  50.00%  2
*** server localhost:8529 shutdown
!!! error running tests (please examine t/logs/error_log)


The error_log then contains the following:

END in modperl_extra.pl, pid=8008
[Mon Jul 28 10:38:51 2003] [notice] Apache/2.0.47 (Unix)
mod_perl/1.99_09 Perl/v
5.8.0 configured -- resuming normal operations
[Mon Jul 28 10:38:51 2003] [info] Server built: Jul 14 2003 15:48:58
[Mon Jul 28 10:38:51 2003] [debug] prefork.c(1037): AcceptMutex: pthread
(defaul
t: pthread)
[Mon Jul 28 10:38:52 2003] [error] server reached MaxClients setting,
consider r
aising the MaxClients setting
[Mon Jul 28 10:38:54 2003] [error] [client 127.0.0.1] File does not
exist: /usr/
local/tmp/mod_perl-1.99_09/t/htdocs/registry/cgi.pl
[Mon Jul 28 10:38:54 2003] [info] Child process pid=8010 is exiting
[Mon Jul 28 10:38:54 2003] [info] removed PID file
/usr/local/tmp/mod_perl-1.99_
09/t/logs/httpd.pid (pid=11894)
[Mon Jul 28 10:38:54 2003] [notice] caught SIGTERM, shutting down
END in modperl_extra.pl, pid=11894

I tried creating a directory under htdocs called registry and then
copying the cgi.pl file into that directory just to see what would
happen and both tests failed.

Any Ideas?
Thanks for you help!

Ryan Laus



-----Original Message-----
From: Stas Bekman [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 24, 2003 6:33 PM
To: Laus, Ryan J.
Cc: [EMAIL PROTECTED]
Subject: Re: Test unexpectedly succeeded during make test


First of all, when reporting problems please following the guidelines:
http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems

> OS: AIX 4.3.3 w/the latest maintenance level

> modperl/request_rec_tie_api....ok
>         1/3 unexpectedly succeeded

The test t/response/TestModperl/request_rec_tie_api.pm goes as:

     require Apache::Build;
     my @todo;
     push @todo, 1 if Apache::Build::AIX();
     plan $r, tests => 3, todo => [EMAIL PROTECTED];

     # XXX: on AIX 4.3.3 we get:
     #                     STDIN STDOUT STDERR
     # perl    :               0      1      2
     # mod_perl:               0      0      2
     my $fileno = fileno STDOUT;
     ok $fileno;
     t_debug "fileno STDOUT: $fileno";

the problem is that on the AIX that I was testing I was receiving STDOUT
as 0 
under mod_perl. I don't remember which perl it was :( but this is not a
problem.


This is the test that really fails:

 > filter/in_bbs_msg.t  255 65280    ??   ??       %  ??

please run this test separately and post the error_log file and the
output of 
the run:

rm t/logs/error_log
t/TEST -v filter/in_bbs_msg.t


Next you also want to install LWP, otherwise many of the tests aren't
running:

>         all skipped: cannot find module 'LWP'



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

Reply via email to