Subject: | t/05-simple.t fails due to attempt to connect to INADDR_ANY (0.0.0.0) |
Test 05-simple.t fails due to it attempting to connect to INADDR_ANY
(0.0.0.0) instead of 127.0.0.1. INADDR_ANY is for listening sockets,
not for connects[0], replacing 0.0.0.0 with 127.0.0.1 makes the test pass.
Failing output:
t/05-simple....
# Failed test 'Got some content back'
# at t/05-simple.t line 34.
Use of uninitialized value $this in pattern match (m//) at t/05-simple.t
line 35.
# Failed test 'Content matches expected result'
# at t/05-simple.t line 35.
# undef
# doesn't match '(?-xism:Congratulations, your Mojo is working!)'
# Looks like you failed 2 tests of 12.
dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 9-10
Failed 2/12 tests, 83.33% okay
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/05-simple.t 2 512 12 2 9-10
Failed 1/1 test scripts. 2/12 subtests failed.
Files=1, Tests=12, 2 wallclock secs ( 0.53 cusr + 0.07 csys = 0.60 CPU)
Failed 1/1 test programs. 2/12 subtests failed.
[0] - according to RFCs 1700 and 3330