Converting the line endings in the test items... Done. Some of the tests I'm going to run employ the services of a test server that listens on what ever ports the OS will let it, and serves up some test items to the *.t test scripts. If some big, port blocking scheme enabled, then these tests will inexplicably fail. The final test script, live.t, contains tests that employ real-world Gopherspaces (like gopher.floodgap.com). These live tests are not crucial and will be skipped if you're not connected to the Internet. If you want them to run, then connect to the Internet before continuing. Press to continue. Checking if your kit is complete... Looks good Writing Makefile for Net::Gopher cp lib/Net/Gopher/Debugging.pm blib/lib/Net/Gopher/Debugging.pm cp lib/Net/Gopher.pm blib/lib/Net/Gopher.pm cp lib/Net/Gopher/Exception.pm blib/lib/Net/Gopher/Exception.pm cp lib/Net/Gopher/Request.pm blib/lib/Net/Gopher/Request.pm cp lib/Net/Gopher/Response.pm blib/lib/Net/Gopher/Response.pm cp lib/Net/Gopher/Response/InformationBlock.pm blib/lib/Net/Gopher/Response/InformationBlock.pm cp lib/Net/Gopher/Utility.pm blib/lib/Net/Gopher/Utility.pm cp lib/Net/Gopher/Response/MenuItem.pm blib/lib/Net/Gopher/Response/MenuItem.pm cp lib/Net/Gopher/Constants.pm blib/lib/Net/Gopher/Constants.pm Manifying blib/man3/Net::Gopher.3 Manifying blib/man3/Net::Gopher::Response::InformationBlock.3 Manifying blib/man3/Net::Gopher::Response.3 Manifying blib/man3/Net::Gopher::Request.3 Manifying blib/man3/Net::Gopher::Response::MenuItem.3 Manifying blib/man3/Net::Gopher::Constants.3 PERL_DL_NONLAZY=1 /Users/cpanrun/pristine/5.8.7/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/0-test_server_test.......ok t/1-net_gopher_request.....ok t/2-net_gopher.............ok t/3-net_gopher_response....# Test 83 got: "+-1\r\n+INFO 1Gopher+ Index\t/gp_index\tlocalhost\t70\t+\r+ADMIN:\r Admin: John Q. Sixpack \r Mod-Date: <20030728173012>\r Creation-Date: <20030728170201>\r Expiration-Date: <20030909090001>\r+VIEWS:\r text/plain: <.40k>\r application/gopher+-menu En_US: <1200b>\r text/html: <.77KB>\r+ABSTRACT\r This is a short synopsis of the item.\r It spans\r multiple lines.\r+ASK\r Ask: What is your name?\r Ask: Where are you from?\tMontana\r Choose: What is your favorite color?\tred\tgreen\tblue\r Select: Contact using Email:\t1\r Select: Contact using Instant Messenger:\t1\r Select: Contact using IRC:\t0\r." (t/3-net_gopher_response.t at line 285) # Expected: "+-1\r\n+INFO 1Gopher+ Index\t/gp_index\tlocalhost\t70\t+\r+ADMIN:\r Admin: John Q. Sixpack \r Mod-Date: <20030728173012>\r Creation-Date: <20030728170201>\r Expiration-Date: <20030909090001>\r+VIEWS:\r text/plain: <.40k>\r application/gopher+-menu En_US: <1200b>\r text/html: <.77KB>\r+ABSTRACT\r This is a short synopsis of the item.\r It spans\r multiple lines.\r+ASK\r Ask: What is your name?\r Ask: Where are you from?\tMontana\r Choose: What is your favorite color?\tred\tgreen\tblue\r Select: Contact using Email:\t1\r Select: Contact using Instant Messenger:\t1\r Select: Contact using IRC:\t0\r.\r" # t/3-net_gopher_response.t line 285 is: ok($response->raw_response, $ITEMS_RAW{'item_blocks'}); # 83 # Test 84 got: "+INFO 1Gopher+ Index\t/gp_index\tlocalhost\t70\t+\n+ADMIN:\n Admin: John Q. Sixpack \n Mod-Date: <20030728173012>\n Creation-Date: <20030728170201>\n Expiration-Date: <20030909090001>\n+VIEWS:\n text/plain: <.40k>\n application/gopher+-menu En_US: <1200b>\n text/html: <.77KB>\n+ABSTRACT\n This is a short synopsis of the item.\n It spans\n multiple lines.\n+ASK\n Ask: What is your name?\n Ask: Where are you from?\tMontana\n Choose: What is your favorite color?\tred\tgreen\tblue\n Select: Contact using Email:\t1\n Select: Contact using Instant Messenger:\t1\n Select: Contact using IRC:\t0\n." (t/3-net_gopher_response.t at line 286) # Expected: "+INFO 1Gopher+ Index\t/gp_index\tlocalhost\t70\t+\n+ADMIN:\n Admin: John Q. Sixpack \n Mod-Date: <20030728173012>\n Creation-Date: <20030728170201>\n Expiration-Date: <20030909090001>\n+VIEWS:\n text/plain: <.40k>\n application/gopher+-menu En_US: <1200b>\n text/html: <.77KB>\n+ABSTRACT\n This is a short synopsis of the item.\n It spans\n multiple lines.\n+ASK\n Ask: What is your name?\n Ask: Where are you from?\tMontana\n Choose: What is your favorite color?\tred\tgreen\tblue\n Select: Contact using Email:\t1\n Select: Contact using Instant Messenger:\t1\n Select: Contact using IRC:\t0\n.\n" # (Install the Algorithm::Diff module to have differences in multiline # output explained. You might also set the PERL_TEST_DIFF environment # variable to run a diff program on the output.) # t/3-net_gopher_response.t line 286 is: ok($response->content, $ITEMS_CONTENT{'item_blocks'}); # 84 # Failed test 92 in t/3-net_gopher_response.t at line 311 # t/3-net_gopher_response.t line 311 is: ok(0); Couldn't connect to "localhost" at port 58047: connect: Invalid argument at t/3-net_gopher_response.t line 312. # Test 93 got: (t/3-net_gopher_response.t at line 314) # Expected: "+554\r\n+INFO: 1Gopher+ Index\t/gp_index\tlocalhost\t70\t+\n+ADMIN\n Admin: John Q. Sixpack \n Mod-Date: <20030728173012>\n+INFO: 0Byte terminated file\t/gp_byte_term\tlocalhost\t70\t+\n+ADMIN\n Admin: John Q. Sixpack \n Mod-Date: <20031201123000>\n+INFO: 0Period terminated file\t/gp_period_term\tlocalhost\t70\t+\n+ADMIN\n Admin: John Q. Sixpack \n Mod-Date: <20040101070206>\n+INFO: 0Non-terminated file\t/gp_no_term\tlocalhost\t70\t+\n+ADMIN\n Admin: John Q. Sixpack \n Mod-Date: <20040201182005>" # t/3-net_gopher_response.t line 314 is: ok($response->raw_response, # Test 94 got: (t/3-net_gopher_response.t at line 316) # Expected: "+INFO: 1Gopher+ Index\t/gp_index\tlocalhost\t70\t+\n+ADMIN\n Admin: John Q. Sixpack \n Mod-Date: <20030728173012>\n+INFO: 0Byte terminated file\t/gp_byte_term\tlocalhost\t70\t+\n+ADMIN\n Admin: John Q. Sixpack \n Mod-Date: <20031201123000>\n+INFO: 0Period terminated file\t/gp_period_term\tlocalhost\t70\t+\n+ADMIN\n Admin: John Q. Sixpack \n Mod-Date: <20040101070206>\n+INFO: 0Non-terminated file\t/gp_no_term\tlocalhost\t70\t+\n+ADMIN\n Admin: John Q. Sixpack \n Mod-Date: <20040201182005>" # t/3-net_gopher_response.t line 316 is: ok($response->content, # Test 95 got: (t/3-net_gopher_response.t at line 318) # Expected: "+554\r\n" # t/3-net_gopher_response.t line 318 is: ok($response->status_line, "+554\015\012"); # 95 # Test 96 got: (t/3-net_gopher_response.t at line 319) # Expected: "+" # t/3-net_gopher_response.t line 319 is: ok($response->status, OK); # 96 # Failed test 97 in t/3-net_gopher_response.t at line 320 # t/3-net_gopher_response.t line 320 is: ok(!$response->is_error); # 97 # Failed test 98 in t/3-net_gopher_response.t at line 321 # t/3-net_gopher_response.t line 321 is: ok($response->is_blocks); # 98 # Failed test 99 in t/3-net_gopher_response.t at line 322 # t/3-net_gopher_response.t line 322 is: ok($response->is_gopher_plus); # 99 # Test 102 got: "Couldn't connect to \"localhost\" at port 58047: connect: Invalid argument" (t/3-net_gopher_response.t at line 346) # Expected: "1 John Q. Phoney \nThe item does not exist." # t/3-net_gopher_response.t line 346 is: ok($response->error, The response either does not a contain a Gopher+ error or it contains a malformed Gopher+ error. Stopped at t/3-net_gopher_response.t line 349 dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 83-84, 92-99, 102-143 Failed 52/143 tests, 63.64% okay t/4-menu_items.............ok t/5-information_blocks.....ok t/6-live...................ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/3-net_gopher_response.t 255 65280 143 93 65.03% 83-84 92-99 102-143 Failed 1/7 test scripts, 85.71% okay. 52/1695 subtests failed, 96.93% okay. make: *** [test_dynamic] Error 25