test@ubuntu:~/gitwork/test-nginx$ make test
/usr/bin/perl "-Iinc" Makefile.PL --config= --installdeps=Text::Diff,0,Test::LongString,0,LWP::UserAgent,0,HTTP::Response,0
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/apply_moves.t t/check_response_body.t t/get_req_from_block.t t/parse_request.t t/pod-coverage.t t/pod.t t/syntax.t
t/apply_moves.t .......... ok
t/check_response_body.t .. Not enough arguments for Test::Nginx::Socket::check_response_body at t/check_response_body.t line 13, near "0)"
Execution of t/check_response_body.t aborted due to compilation errors.
# Looks like your test exited with 255 before it could output anything.
t/check_response_body.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests
t/get_req_from_block.t ... 1/7
# Failed test 'request: basic string'
# at t/get_req_from_block.t line 6.
# Structures begin differing at:
# $got->[0][0]{value} = 'GET / HTTP/1.1
# Host: localhost
# Connection: close
#
# '
# $expected->[0][0]{value} = 'GET / HTTP/1.1
# Host: localhost
# Connection: Close
#
# '
# Failed test 'request: with eval'
# at t/get_req_from_block.t line 9.
# Structures begin differing at:
# $got->[0][0]{value} = 'POST /rrd/taratata HTTP/1.1
# Host: localhost
# Connection: close
# Content-Length: 15
#
# value=N%3A12345'
# $expected->[0][0]{value} = 'POST /rrd/taratata HTTP/1.1
# Host: localhost
# Connection: Close
# Content-Length: 15
#
# value=N%3A12345'
# Failed test 'request: an array of requests without delays.'
# at t/get_req_from_block.t line 29.
# Structures begin differing at:
# $got->[0][0]{value} = 'POST /foo HTTP/1.1
# Host: localhost
# Connection: close
# Content-Length: 15
#
# v'
# $expected->[0][0]{value} = 'POST /foo HTTP/1.1
# Host: localhost
# Connection: Close
# Content-Length: 15
#
# v'
# Failed test 'request: an array of requests with delays.'
# at t/get_req_from_block.t line 34.
# Structures begin differing at:
# $got->[0][0]{value} = 'POST /foo HTTP/1.1
# Host: localhost
# Connection: close
# Content-Length: 15
#
# '
# $expected->[0][0]{value} = 'POST /foo HTTP/1.1
# Host: localhost
# Connection: Close
# Content-Length: 15
#
# '
# Looks like you failed 4 tests of 7.
t/get_req_from_block.t ... Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/7 subtests
t/parse_request.t ........ ok
t/pod-coverage.t ......... skipped: we know we have poor POD coverage :P
t/pod.t .................. skipped: Test::Pod required for testing POD
t/syntax.t ............... lib/Test/Nginx/LWP.pm syntax OK
t/syntax.t ............... 1/2 lib/Test/Nginx/Socket.pm syntax OK
t/syntax.t ............... ok
Test Summary Report
-------------------
t/check_response_body.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 1 tests but ran 0.
t/get_req_from_block.t (Wstat: 1024 Tests: 7 Failed: 4)
Failed tests: 1-2, 6-7
Non-zero exit status: 4
Files=7, Tests=23, 1 wallclock secs ( 0.04 usr 0.00 sys + 0.67 cusr 0.08 csys = 0.79 CPU)
Result: FAIL
Failed 2/7 test programs. 4/23 subtests failed.
make: *** [test_dynamic] Error 255