perl-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: question on same_interp_tie
Date Sun, 30 Oct 2005 06:31:51 GMT

I've finally had the time to work on your patch integration.

The problem is the test in your patch doesn't work for me:

with mp2 I get:

t/sameinterp.............failed to init the same_handler data 
(url=/test/sameinterp). Failed with code=500, response:
<title>500 Internal Server Error</title>
<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,
  you@your.address 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>
         Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-12
         Failed 12/12 tests, 0.00% okay

[Sat Oct 29 23:28:33 2005] [error] [client] 
mpxs_Apache2__RequestRec_print: $r->print can't be called before the 
response phase at 
/home/stas/ line 26.

You can't print from any but response phase

with mp1, the test suite won't even start:

Can't locate Apache/ in @INC (@INC contains: 
/home/stas/perl/5.8.7-nouseperlio/lib/site_perl . 
/home/stas/ at (eval 4) line 3.

server has died with status 255 (t/logs/error_log wasn't created, start 
the server in the debug mode)
sh: line 1: 12285 Terminated

something in your patch messed up the @INC handling, so that 
Apache-Test/lib is no longer there.

finally can you please bring Apache-Test to the latest version, just to 
make sure that your patch applies cleanly. Also please send it as an 
attachment, since the inlined patch got all broken.

Thank you.

Stas Bekman
MailChannels: Assured Messaging(TM)
The "Practical mod_perl" book

View raw message