# running Build.PL C:\cpanrun\build\5-10-0\bin\perl.exe Build.PL * Optional prerequisite HTTP::Daemon::SSL is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Checking whether your kit is complete... Looks good Checking prerequisites... Creating new 'Build' script for 'HTTP-Server-Brick' version '0.1.0' Unknown 'build_class', defaulting to 'Module::Build' Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. C:\cpanrun\build\5-10-0\bin\perl.exe Build --makefile_env_macros 1 Build: blib\lib\HTTP\Server\Brick.pm: cannot resolve L in paragraph 150. Build: blib\lib\HTTP\Server\Brick.pm: cannot resolve L in paragraph 166. Build: blib\lib\HTTP\Server\Brick.pm: cannot resolve L in paragraph 179. Build: blib\lib\HTTP\Server\Brick.pm: cannot resolve L in paragraph 192. Copying lib\HTTP\Server\Brick.pm -> blib\lib\HTTP\Server\Brick.pm Manifying blib\lib/HTTP/Server/Brick.pm -> blib\libdoc\HTTP.Server.Brick.3 HTMLifying blib\lib\HTTP\Server\Brick.pm -> blib\libhtml\site\lib\HTTP\Server\Brick.html Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. C:\cpanrun\build\5-10-0\bin\perl.exe Build --makefile_env_macros 1 test t\00.load.........1..1 ok 1 - use HTTP::Server::Brick; # Testing HTTP::Server::Brick 0.1.0 ok t\pod-coverage....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\pod.............1..1 ok 1 - blib\lib\HTTP\Server\Brick.pm ok t\serving.........1..265 ok 1 - use HTTP::Server::Brick; Variable "$temp_dir" will not stay shared at t\serving.t line 103. Variable "$temp_text_file" will not stay shared at t\serving.t line 103. Variable "$temp_html_file" will not stay shared at t\serving.t line 104. Variable "$temp_dir_non_indexed" will not stay shared at t\serving.t line 106. # # # Using port: 85432 and host: localhost for test server. # If these are not suitable settings on your machine, set the environment # variables HSB_TEST_PORT and HSB_TEST_HOST to something suitable. # # Configuring server ok 2 - Created server object. ok 3 - The object isa HTTP::Server::Brick [Thu Jan 10 05:52:42 2008] [7636] Mounted wildcard directory at /static/test [Thu Jan 10 05:52:42 2008] [7636] Mounted handler at /exotic_error [Thu Jan 10 05:52:42 2008] [7636] Mounted handler at /another_exotic_error [Thu Jan 10 05:52:42 2008] [7636] Mounted handler at /static/test/more_specific_mount [Thu Jan 10 05:52:42 2008] [7636] Mounted handler at /test/non_wildcard_handler [Thu Jan 10 05:52:42 2008] [7636] Mounted wildcard handler at /test/wildcard_handler [Thu Jan 10 05:52:42 2008] [7636] Mounted handler at /test/redirect [Thu Jan 10 05:52:42 2008] [7636] Mounted handler at /test/relative_redirect [Thu Jan 10 05:52:42 2008] [7636] Mounted wildcard handler at /test/data # Starting server [Thu Jan 10 05:52:43 2008] [-4840] Server started on http://alligator.activestate.com:19896/ [Thu Jan 10 05:52:44 2008] [-4840] [404] /url_that_doesn't_exist [Thu Jan 10 05:52:44 2008] [-4840] [404] [/url_that_doesn't_exist] Not Found in Site Map ok 4 - Pathological case - mount doesn't exist (LWP request worked) ok 5 - Pathological case - mount doesn't exist (result code as expected). ok 6 - Pathological case - mount doesn't exist (content matched). ok 7 - Directory indexing (LWP request worked) # Failed test 'Directory indexing (result code as expected).' not ok 8 - Directory indexing (result code as expected). # at t\serving.t line 47. # got: 500 # expected: 200 # Failed test 'Directory indexing (content matched).' # at t\serving.t line 48. not ok 9 - Directory indexing (content matched). # '500 Can't connect to alligator.activestate.com:19896 (connect: Unknown error) # ' # doesn't match '(?s-xim:static/test.*foo.html.*foo.txt)' # Failed test 'Directory indexing (Mime type)' # at t\serving.t line 50. not ok 10 - Directory indexing (Mime type) # got: 'text/plain' # expected: 'text/html' [Thu Jan 10 05:52:45 2008] [-4840] [404] /static/test/flubber [Thu Jan 10 05:52:45 2008] [-4840] [404] [/static/test/flubber] File Not Found ok 11 - Static file not found (LWP request worked) ok 12 - Static file not found (result code as expected). ok 13 - Static file not found (content matched). [Thu Jan 10 05:52:45 2008] [-4840] [200] /static/test/foo.txt ok 14 - Plain text static file (LWP request worked) ok 15 - Plain text static file (result code as expected). ok 16 - Plain text static file (content matched). ok 17 - Plain text static file (Mime type) [Thu Jan 10 05:52:45 2008] [-4840] [200] /static/test/foo.html ok 18 - HTML static file (LWP request worked) ok 19 - HTML static file (result code as expected). ok 20 - HTML static file (content matched). ok 21 - HTML static file (Mime type) [Thu Jan 10 05:52:45 2008] [-4840] [409] [/exotic_error] Conflict ok 22 - HTTP Return code via handler return value (LWP request worked) ok 23 - HTTP Return code via handler return value (result code as expected). ok 24 - HTTP Return code via handler return value (content matched). [Thu Jan 10 05:52:45 2008] [-4840] [405] [/another_exotic_error] Method Not Allowed ok 25 - HTTP Return code via HTTP::Response->code() (LWP request worked) ok 26 - HTTP Return code via HTTP::Response->code() (result code as expected). ok 27 - HTTP Return code via HTTP::Response->code() (content matched). [Thu Jan 10 05:52:45 2008] [-4840] [409] [/static/test/more_specific_mount] Conflict ok 28 - More specific mount matched first (LWP request worked) ok 29 - More specific mount matched first (result code as expected). ok 30 - More specific mount matched first (content matched). [Thu Jan 10 05:52:45 2008] [-4840] [200] /test/non_wildcard_handler ok 31 - Regular HTML mounted handler (LWP request worked) ok 32 - Regular HTML mounted handler (result code as expected). ok 33 - Regular HTML mounted handler (content matched). ok 34 - Regular HTML mounted handler (Mime type) [Thu Jan 10 05:52:45 2008] [-4840] [404] /test/non_wildcard_handler/foo [Thu Jan 10 05:52:45 2008] [-4840] [404] [/test/non_wildcard_handler/foo] Not Found in Site Map ok 35 - Handlers default to non-wildcard (LWP request worked) ok 36 - Handlers default to non-wildcard (result code as expected). ok 37 - Handlers default to non-wildcard (content matched). [Thu Jan 10 05:52:45 2008] [-4840] [warn] Use of uninitialized value in concatenation (.) or string at t\serving.t line 130. [Thu Jan 10 05:52:45 2008] [-4840] [200] /test/wildcard_handler ok 38 - Wildcard mounted handler root (path info) (LWP request worked) ok 39 - Wildcard mounted handler root (path info) (result code as expected). ok 40 - Wildcard mounted handler root (path info) (content matched). ok 41 - Wildcard mounted handler root (path info) (Mime type) [Thu Jan 10 05:52:45 2008] [-4840] [warn] Use of uninitialized value in concatenation (.) or string at t\serving.t line 130. [Thu Jan 10 05:52:45 2008] [-4840] [200] /test/wildcard_handler ok 42 - Wildcard mounted handler root (mount path) (LWP request worked) ok 43 - Wildcard mounted handler root (mount path) (result code as expected). ok 44 - Wildcard mounted handler root (mount path) (content matched). ok 45 - Wildcard mounted handler root (mount path) (Mime type) [Thu Jan 10 05:52:45 2008] [-4840] [200] /test/wildcard_handler/foo/bar ok 46 - Wildcard mounted handler with extra path (LWP request worked) ok 47 - Wildcard mounted handler with extra path (result code as expected). ok 48 - Wildcard mounted handler with extra path (content matched). ok 49 - Wildcard mounted handler with extra path (Mime type) [Thu Jan 10 05:52:45 2008] [-4840] [200] /test/wildcard_handler/foo/bar ok 50 - Wildcard mounted handler with extra path (mount path) (LWP request worked) ok 51 - Wildcard mounted handler with extra path (mount path) (result code as expected). ok 52 - Wildcard mounted handler with extra path (mount path) (content matched). ok 53 - Wildcard mounted handler with extra path (mount path) (Mime type) [Thu Jan 10 05:52:45 2008] [-4840] [302] Redirecting to /test/non_wildcard_handler ok 54 - Fully qualified Redirect (LWP request worked) # Failed test 'Fully qualified Redirect (result code as expected).' # at t\serving.t line 47. not ok 55 - Fully qualified Redirect (result code as expected). # got: 500 # expected: 200 # Failed test 'Fully qualified Redirect (content matched).' # at t\serving.t line 48. # '500 Can't connect to alligator.activestate.com:19896 (connect: Unknown error) # ' # doesn't match '(?-xism:No wildcards here)' # Failed test 'Fully qualified Redirect (Mime type)' # at t\serving.t line 50. # got: 'text/plain' # expected: 'text/html' not ok 56 - Fully qualified Redirect (content matched). not ok 57 - Fully qualified Redirect (Mime type) [Thu Jan 10 05:52:46 2008] [-4840] [302] Redirecting to /test/wildcard_handler/flubber ok 58 - Relative Redirect (LWP request worked) # Failed test 'Relative Redirect (result code as expected).' # at t\serving.t line 47. not ok 59 - Relative Redirect (result code as expected). # got: 500 # expected: 200 # Failed test 'Relative Redirect (content matched).' # at t\serving.t line 48. not ok 60 - Relative Redirect (content matched). # '500 Can't connect to alligator.activestate.com:19896 (connect: Unknown error) # ' # doesn't match '(?-xism:Path info: /flubber

)' # Failed test 'Relative Redirect (Mime type)' # at t\serving.t line 50. not ok 61 - Relative Redirect (Mime type) # got: 'text/plain' # expected: 'text/html' [Thu Jan 10 05:52:47 2008] [-4840] [200] /test/data ok 62 - HTTP::Response custom mime type (LWP request worked) ok 63 - HTTP::Response custom mime type (result code as expected). ok 64 - HTTP::Response custom mime type (content matched). ok 65 - HTTP::Response custom mime type (Mime type) Your vendor has not defined POSIX macro SIGHUP, used at t\serving.t line 230 # Looks like you planned 265 tests but only ran 65. # Looks like you failed 9 tests of 65 run. # Looks like your test died just after 65.