[Catalyst-dev] patch candidate to fix HTTPS-on-80/HTTP-on-443 handling

darren at darrenduncan.net darren at darrenduncan.net
Tue Aug 24 06:37:45 GMT 2010


Following up on this post ...

In normal testing, I did find a bug in my addition to HTTP.pm, which was a
missing $request declaration.  When I added that, it seems that all the 5
or so test failures went away.

But, and this is strange, running make test with the fix says:

t/aggregate/live_engine_request_headers.t ............................. 1/18
#   Failed test 'Forwarded port sets securet'
#   at t/aggregate/live_engine_request_headers.t line 34.
# Looks like you failed 1 test of 18.
t/aggregate/live_engine_request_headers.t .............................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/18 subtests
...
Test Summary Report
-------------------
t/aggregate/live_engine_request_headers.t                          
(Wstat: 256 Tests: 18 Failed: 1)
  Failed test:  7
  Non-zero exit status: 1

..., but, running "prove" on the same test says:

t/aggregate/live_engine_request_headers.t .. ok
All tests successful.
Files=1, Tests=18,  3 wallclock secs ( 0.03 usr  0.01 sys +  2.59 cusr 
0.10 csys =  2.73 CPU)
Result: PASS

So why would that happen?

-- Darren Duncan





More information about the Catalyst-dev mailing list