Arshavir Grigorian wrote:
[Wed Aug 02 23:11:45 2006] [error] [client 127.0.0.1] Can't call method "as_string" on an undefined value at /root/.cpan/build/httpd-apreq-2/glue/perl/t/response/TestApReq/cookie.pm line 27.\n # WARNING!!! t_cmp() argument order has changed. # use of a regular expression as the first argument # is deprecated. support will be removed soon. # testing : Bad class name # expected: (?-xism:^Usage) # received: Usage: APR::Request::Cookie::Table::cookie_class($table, $class): class APR::Request::Param is not derived from APR::Request::Cookie at /root/.cpan/build/httpd-apreq-2/glue/perl/t/response/TestAPI/cookie.pm line 54. ok 28
# WARNING!!! t_cmp() argument order has changed. # use of a regular expression as the first argument # is deprecated. support will be removed soon. # testing : Bad class name # expected: (?-xism:^Usage) # received: Usage: APR::Request::Param::Table::param_class($table, $class): class APR::Request::Cookie is not derived from APR::Request::Param at /root/.cpan/build/httpd-apreq-2/glue/perl/t/response/TestAPI/param.pm line 55. ok 28
These 2 are minor, but I've just fixed both in SVN.
t/apreq/big_input....1..0 # skipped: no reason given
skipped
all skipped: no reason given
t/apreq/cgi..........# writing file:
Can you figure out why this test is being skipped ? Look at the 'plan => foo;' line
all skipped: no reason given
t/apreq/cookie.......# Failed test 7 in t/apreq/cookie.t at line 70
# Failed test 10 in t/apreq/cookie.t at line 110
# Failed test 11 in t/apreq/cookie.t at line 129
# Failed test 12 in t/apreq/cookie.t at line 148
This stems from the error you see in the error log. Looks like something in XS creation of the ARP::Cookie::JAR didn't
work out happily. I don't know how much luck I'll have in debugging this as I don't have an environment to recreate it.
Can you run: cd module ; ./t/TEST t/cookie.t -verbose That should hit the C code without any of the XS glue and at least isolate the realm to look in.
# testing : cookies
# expected: one="1"; Version=1
# received: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
# <html><head>
# <title>500 Internal Server Error</title>
# </head><body>
# <h1>Internal Server Error</h1>
# <p>The server encountered an internal error or
# misconfiguration and was unable to complete
# your request.</p>
# <p>Please contact the server administrator,
# suppressed and inform them of the time the error occurred,
# and anything you might have done that may have
# caused the error.</p>
# <p>More information about this error may be available
# in the server error log.</p>
# </body></html>
not ok 10
# testing : cookies
# expected: two="2"; Version=1 two="22"; Version=1
# received: two="22"; Version=1
not ok 11
# testing : cookies
# expected: one two three two
# received: two
not ok 12
# testing : overload
# expected: one="1"; Version=1
# received: one="1"; Version=1
ok 13
FAILED tests 7, 10-12
Failed 4/13 tests, 69.23% okay
t/apreq/inherit......1..0 # skipped: no reason given
skipped
all skipped: no reason given
t/apreq/request......1..0 # skipped: no reason given
skipped
all skipped: no reason given
t/apreq/upload.......1..0 # skipped: no reason given
skipped
all skipped: no reason given
Failed Test Stat Wstat Total Fail Failed List of Failed
Again, why are these being skipped ?
suppressed:~# uname -aLinux sash 2.6.15-26-386 #1 PREEMPT Mon Jul 17 19:52:53 UTC 2006 i686
gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5) suppressed:~#
Hmm... any chance you can try a (L)AMP chain using gcc 3.4.x or 4.1.x -- ------------------------------------------------------------------------ Philip M. Gollucci (suppressed) 323.219.4708 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Software Engineer - TicketMaster - http://ticketmaster.com 1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F "It takes a minute to have a crush on someone, an hour to like someone, and a day to love someone, but it takes a lifetime to forget someone..."
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.