perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jie Gao <J....@isu.usyd.edu.au>
Subject Re: [mp2] modperl-2.0_20041207171655 test fails
Date Wed, 08 Dec 2004 23:50:39 GMT



On Wed, 8 Dec 2004, Stas Bekman wrote:

> Date: Wed, 08 Dec 2004 18:03:35 -0500
> From: Stas Bekman <stas@stason.org>
> To: Jie Gao <J.Gao@isu.usyd.edu.au>
> Cc: dev@perl.apache.org
> Subject: Re: [mp2] modperl-2.0_20041207171655 test fails
>
> Jie Gao wrote:
>
> Thanks Jie for the detailed report.
>
> > t/api/lookup_uri.....request has failed (the response code was: 500)
> > see t/logs/error_log for more details
> > dubious
> >         Test returned status 29 (wstat 7424, 0x1d00)
>
>  > [Thu Dec 09 09:13:33 2004] [error] [client 127.0.0.1] Can't call method
> "run" on an undefined value at
>  > /opt/local/src/modperl-2.0/t/response/TestAPI/lookup_uri.pm line 54.\n
>
> for some reason the client t/api/lookup_uri.t sends no filter= argument
> here: is somehow ';' separator gets on the way or the server side fails to
> parse the args string:
>
>    my $args = "subreq=lookup_uri;filter=$filter";
>
> try to dump $args and %args in t/response/TestAPI/lookup_uri.pm and see
> what you get there.
>
> > t/api/r_subclass.....1..5
> > not ok 1
>
>  > # Failed test 1 in
> /opt/local/src/modperl-2.0/t/response/TestAPI/r_subclass.pm at line 28
>
> I don't understand. None of these files exist. Are you sure you are
> running modperl-2.0_20041207171655 snapshot? I've just downloaded
> modperl-2.0_20041208171733.tar.gz and it's not there.

Yes, I'm dead sure it was. However, I've just got modperl-2.0_20041208171733.tar.gz
over and it passwd all the tests.

Regards,



Jie


> > t/api/request_rec....1..52
> >
> > # expected: /TestAPI__request_rec/my_path_info?my_args=3
> > # received: /TestAPI__request_rec
> > not ok 33
> > # testing : $r->uri
> > # expected: /TestAPI__request_rec/my_path_info
> > # received: /TestAPI__request_rec
> > not ok 34
> > # testing : $r->path_info
> > # expected: /my_path_info
> > # received:
> > not ok 35
> > # testing : $r->args
> > # expected: my_args=3
> > # received: undef
> > not ok 36
> > # testing : $r->the_request
> > # expected: GET /TestAPI__request_rec/my_path_info?my_args=3 HTTP/1.0
> > # received: GET /TestAPI__request_rec HTTP/1.0
> > not ok 37
>
> again you lose the args, try to debug on the server side.
>
>
> > t/hooks/init.........request has failed (the response code was: 404)
> > see t/logs/error_log for more details
> > dubious
> >         Test returned status 29 (wstat 7424, 0x1d00)
> > t/user/rewrite.......request has failed (the response code was: 404)
> > see t/logs/error_log for more details
> > dubious
>
> > [Thu Dec 09 09:13:36 2004] [error] [client 127.0.0.1] File does not exist:
> > /opt/local/src/modperl-2.0/t/htdocs/TestHooks__init
> > [Thu Dec 09 09:13:37 2004] [error] [client 127.0.0.1] File does not exist:
> > /opt/local/src/modperl-2.0/t/htdocs/TestUser__rewrite
>
> check your t/conf/httpd.conf, something is wrong with your checkout:
>
> % t/TEST -conf
> % grep -Ir /TestUser__rewrite t/conf/httpd.conf
>      <Location /TestUser__rewrite_real>
> % grep -Ir /TestHooks__init t/conf/httpd.conf
>      <Location /TestHooks__init>
>
> --
> __________________________________________________________________
> 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
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message