C:\temp\HTTP-Server-Simple-0.28_01>nmake test Microsoft (R) Program Maintenance Utility Version 7.00.9466 Copyright (C) Microsoft Corporation. All rights reserved. C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(1, 'inc', 'blib\lib', 'blib\arch')" t/*.t t/00smoke..........1..8 ok 1 - use HTTP::Server::Simple; ok 2 - can new() ok 3 - The object isa HTTP::Server::Simple ok 4 - Defaults to 8080 ok 5 - Can change port ok 6 - Change persists ok 7 - can print_banner() ok 8 - can run() ok t/01live...........1..10 ok 1 - Constructor set port correctly ok 2 - pid is numeric HTTP::Server::Simple: You can connect to your server at http://localhost:13432/ ok 3 - Returns a page ok 4 - Signaled 1 process successfully # started server on -336 HTTP::Server::Simple: You can connect to your server at http://localhost:13432/ ok 5 - pid is numeric ok 6 - Returns a page ok 7 - knows what a request isn't ok 8 - HTTP/1.1 request ok 9 - HTTP/0.9 request ok 10 - Signaled 1 process successfully ok t/02pod............1..0 # Skip Test::Pod 1.14 required for testing POD skipped all skipped: Test::Pod 1.14 required for testing POD t/03podcoverage....1..0 # Skip Test::Pod::Coverage 1.04 required for testing POD coverage skipped all skipped: Test::Pod::Coverage 1.04 required for testing POD coverage t/04cgi............1..21 SERVER_URL is SERVER_URL: http://localhost:13432/ SERVER_PORT is SERVER_PORT: 13432 REQUEST_METHOD is REQUEST_METHOD: GET REQUEST_URI is REQUEST_URI: /cgitest/REQUEST_URI REQUEST_URI is REQUEST_URI: /cgitest/REQUEST_URI SERVER_PROTOCOL is SERVER_PROTOCOL: HTTP/1.1 SERVER_NAME is SERVER_NAME: localhost SERVER_SOFTWARE is SERVER_SOFTWARE: HTTP::Server::Simple/\d+.\d+ REMOTE_ADDR is REMOTE_ADDR: 127.0.0.1 QUERY_STRING is QUERY_STRING: PATH_INFO is PATH_INFO: /cgitest/PATH_INFO ok 1 - Constructor set port correctly ok 2 - pid is numeric HTTP::Server::Simple: You can connect to your server at http://localhost:13432/ message is GET / HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 6 NOFILE bbbbbbbbbbbbbbbbbbbb message is GET /cgitest/server_software HTTP/1.1 ok 3 - no file aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 45 server_software: HTTP::Server::Simple/0.28_01 bbbbbbbbbbbbbbbbbbbb ok 4 - method - server_software message is GET /cgitest/request_method HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 19 request_method: GET bbbbbbbbbbbbbbbbbbbb ok 5 - method - request_method message is GET /cgitest/url HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 27 url: http://localhost:13432 bbbbbbbbbbbbbbbbbbbb ok 6 - method - url message is GET /cgitest/server_port HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 18 server_port: 13432 bbbbbbbbbbbbbbbbbbbb ok 7 - method - server_port message is GET /cgitest/path_info HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 29 path_info: /cgitest/path_info bbbbbbbbbbbbbbbbbbbb ok 8 - method - path_info message is GET /cgitest/server_name HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 22 server_name: localhost bbbbbbbbbbbbbbbbbbbb ok 9 - method - server_name message is GET /cgitest/SERVER_NAME HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 22 SERVER_NAME: localhost bbbbbbbbbbbbbbbbbbbb ok 10 - Environment - SERVER_NAME message is GET /cgitest/REMOTE_ADDR HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 22 REMOTE_ADDR: 127.0.0.1 bbbbbbbbbbbbbbbbbbbb ok 11 - Environment - REMOTE_ADDR message is GET /cgitest/PATH_INFO HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 29 PATH_INFO: /cgitest/PATH_INFO bbbbbbbbbbbbbbbbbbbb ok 12 - Environment - PATH_INFO message is GET /cgitest/SERVER_PROTOCOL HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 25 SERVER_PROTOCOL: HTTP/1.1 bbbbbbbbbbbbbbbbbbbb ok 13 - Environment - SERVER_PROTOCOL message is GET /cgitest/REQUEST_METHOD HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 19 REQUEST_METHOD: GET bbbbbbbbbbbbbbbbbbbb ok 14 - Environment - REQUEST_METHOD message is GET /cgitest/REQUEST_URI HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 33 REQUEST_URI: /cgitest/REQUEST_URI bbbbbbbbbbbbbbbbbbbb ok 15 - Environment - REQUEST_URI message is GET /cgitest/SERVER_SOFTWARE HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 45 SERVER_SOFTWARE: HTTP::Server::Simple/0.28_01 bbbbbbbbbbbbbbbbbbbb ok 16 - Environment - SERVER_SOFTWARE message is GET /cgitest/QUERY_STRING HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 14 QUERY_STRING: bbbbbbbbbbbbbbbbbbbb ok 17 - Environment - QUERY_STRING message is GET /cgitest/SERVER_URL HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 35 SERVER_URL: http://localhost:13432/ bbbbbbbbbbbbbbbbbbbb ok 18 - Environment - SERVER_URL message is GET /cgitest/SERVER_PORT HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 18 SERVER_PORT: 13432 bbbbbbbbbbbbbbbbbbbb ok 19 - Environment - SERVER_PORT message is GET /cgitest/REQUEST_URI?foo%3Fbar aaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbb not ok 20 - Didn't decode already # Failed test 'Didn't decode already' # in t/04cgi.t at line 77. # '' # doesn't match '/foo%3Fbar/' # Looks like you failed 1 test of 21. ok 21 - Signaled 1 process successfully dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 20 Failed 1/21 tests, 95.24% okay t/aa...............1..21 SERVER_URL is SERVER_URL: http://localhost:13432/ SERVER_PORT is SERVER_PORT: 13432 REQUEST_METHOD is REQUEST_METHOD: GET REQUEST_URI is REQUEST_URI: /cgitest/REQUEST_URI REQUEST_URI is REQUEST_URI: /cgitest/REQUEST_URI SERVER_PROTOCOL is SERVER_PROTOCOL: HTTP/1.1 SERVER_NAME is SERVER_NAME: localhost SERVER_SOFTWARE is SERVER_SOFTWARE: HTTP::Server::Simple/\d+.\d+ REMOTE_ADDR is REMOTE_ADDR: 127.0.0.1 QUERY_STRING is QUERY_STRING: PATH_INFO is PATH_INFO: /cgitest/PATH_INFO ok 1 - Constructor set port correctly ok 2 - pid is numeric HTTP::Server::Simple: You can connect to your server at http://localhost:13432/ message is GET / HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 6 NOFILE bbbbbbbbbbbbbbbbbbbb message is GET /cgitest/server_software HTTP/1.1 ok 3 - no file aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 45 server_software: HTTP::Server::Simple/0.28_01 bbbbbbbbbbbbbbbbbbbb ok 4 - method - server_software message is GET /cgitest/request_method HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 19 request_method: GET bbbbbbbbbbbbbbbbbbbb ok 5 - method - request_method message is GET /cgitest/url HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 27 url: http://localhost:13432 bbbbbbbbbbbbbbbbbbbb ok 6 - method - url message is GET /cgitest/server_port HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 18 server_port: 13432 bbbbbbbbbbbbbbbbbbbb ok 7 - method - server_port message is GET /cgitest/path_info HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 29 path_info: /cgitest/path_info bbbbbbbbbbbbbbbbbbbb ok 8 - method - path_info message is GET /cgitest/server_name HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 22 server_name: localhost bbbbbbbbbbbbbbbbbbbb ok 9 - method - server_name message is GET /cgitest/SERVER_NAME HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 22 SERVER_NAME: localhost bbbbbbbbbbbbbbbbbbbb ok 10 - Environment - SERVER_NAME message is GET /cgitest/REMOTE_ADDR HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 22 REMOTE_ADDR: 127.0.0.1 bbbbbbbbbbbbbbbbbbbb ok 11 - Environment - REMOTE_ADDR message is GET /cgitest/PATH_INFO HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 29 PATH_INFO: /cgitest/PATH_INFO bbbbbbbbbbbbbbbbbbbb ok 12 - Environment - PATH_INFO message is GET /cgitest/SERVER_PROTOCOL HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 25 SERVER_PROTOCOL: HTTP/1.1 bbbbbbbbbbbbbbbbbbbb ok 13 - Environment - SERVER_PROTOCOL message is GET /cgitest/REQUEST_METHOD HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 19 REQUEST_METHOD: GET bbbbbbbbbbbbbbbbbbbb ok 14 - Environment - REQUEST_METHOD message is GET /cgitest/REQUEST_URI HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 33 REQUEST_URI: /cgitest/REQUEST_URI bbbbbbbbbbbbbbbbbbbb ok 15 - Environment - REQUEST_URI message is GET /cgitest/SERVER_SOFTWARE HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 45 SERVER_SOFTWARE: HTTP::Server::Simple/0.28_01 bbbbbbbbbbbbbbbbbbbb ok 16 - Environment - SERVER_SOFTWARE message is GET /cgitest/QUERY_STRING HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 14 QUERY_STRING: bbbbbbbbbbbbbbbbbbbb ok 17 - Environment - QUERY_STRING message is GET /cgitest/SERVER_URL HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 35 SERVER_URL: http://localhost:13432/ bbbbbbbbbbbbbbbbbbbb ok 18 - Environment - SERVER_URL message is GET /cgitest/SERVER_PORT HTTP/1.1 aaaaaaaaaaaaaaaaaaaaa HTTP/1.0 200 OK Content-Type: text/html Content-Length: 18 SERVER_PORT: 13432 bbbbbbbbbbbbbbbbbbbb ok 19 - Environment - SERVER_PORT message is GET /cgitest/REQUEST_URI?foo%3Fbar aaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbb # Failed test 'Didn't decode already' # in t/aa.t at line 77. not ok 20 - Didn't decode already # '' # doesn't match '/foo%3Fbar/' # Looks like you failed 1 test of 21. ok 21 - Signaled 1 process successfully dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 20 Failed 1/21 tests, 95.24% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/04cgi.t 1 256 21 1 20 t/aa.t 1 256 21 1 20 2 tests skipped. Failed 2/6 test scripts. 2/60 subtests failed. Files=6, Tests=60, 13 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) Failed 2/6 test programs. 2/60 subtests failed. NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0x1' Stop. C:\temp\HTTP-Server-Simple-0.28_01>