Checking whether your kit is complete... Looks good Checking prerequisites... Looks good The automated tests need to be configured with host:port information for a connection that you expect to work, and host:port information for a connection that you expect to fail. First, a host:port that you expect to connect to. The default specifies the SSH port on the localhost. host:port : [localhost:22] Use of uninitialized value in split at Build.PL line 40. Now, an IP address:port that you expect to connect to. The default specifies the SSH port on 127.0.0.1 (localhost). ip:port : [127.0.0.1:22] Finally, a host:port that you do not expect to connect to. Note that the host must exist in order for the tests to work, but it should have nothing listening on the specified port. The default specifies the telnet port on the localhost. host:port : [localhost:23] Use of uninitialized value in split at Build.PL line 67. Creating new 'Build' script for 'Test-Net-Connect' version '0.03' lib/Test/Net/Connect.pm -> blib/lib/Test/Net/Connect.pm Writing config notes to blib/lib/Test/Net/Connect/ConfigData.pm Manifying blib/lib/Test/Net/Connect/ConfigData.pm -> blib/libdoc/Test::Net::Connect::ConfigData.3 Manifying blib/lib/Test/Net/Connect.pm -> blib/libdoc/Test::Net::Connect.3 HTMLifying blib/lib/Test/Net/Connect/ConfigData.pm -> blib/libhtml/site/lib/Test/Net/Connect/ConfigData.html HTMLifying blib/lib/Test/Net/Connect.pm -> blib/libhtml/site/lib/Test/Net/Connect.html t/00-load..........# Testing Test::Net::Connect 0.03, Perl 5.008007, /local/0/usr/local/bin/perl ok t/01-connect_ok.... # Failed test (t/01-connect_ok.t at line 20) # got: '0' # expected: '1' # Failed test (t/01-connect_ok.t at line 20) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 20) # Got diag (41 bytes): # ' connect_ok() called with no hostname' # Expected diag (0 bytes): # # Failed test (t/01-connect_ok.t at line 28) # got: '0' # expected: '1' # Failed test (t/01-connect_ok.t at line 28) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 28) # Got diag (41 bytes): # ' connect_ok() called with no hostname' # Expected diag (0 bytes): # Use of uninitialized value in concatenation (.) or string at t/01-connect_ok.t line 34. # Failed test (t/01-connect_ok.t at line 38) # got: '0' # expected: '1' # Failed test (t/01-connect_ok.t at line 38) # got: '2' # expected: '1' # You need to change $Test::Builder::Level Use of uninitialized value in concatenation (.) or string at t/01-connect_ok.t line 44. Use of uninitialized value in concatenation (.) or string at t/01-connect_ok.t line 44. # Failed test (t/01-connect_ok.t at line 44) # got: '0' # expected: '1' # Failed test (t/01-connect_ok.t at line 44) # got: 'connect_ok()' # expected: 'Connecting to tcp://:' # Failed test (t/01-connect_ok.t at line 44) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 52) # got: '0' # expected: '1' # Failed test (t/01-connect_ok.t at line 52) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 58) # got: '0' # expected: '1' # Failed test (t/01-connect_ok.t at line 58) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 58) # Got diag (45 bytes): # ' connect_not_ok() called with no hostname' # Expected diag (0 bytes): # # Failed test (t/01-connect_ok.t at line 65) # got: '0' # expected: '1' # Failed test (t/01-connect_ok.t at line 65) # got: 'connect_not_ok()' # expected: 'Connecting to tcp://localhost:23' # Failed test (t/01-connect_ok.t at line 65) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 65) # Got diag (45 bytes): # ' connect_not_ok() called with no hostname' # Expected diag (0 bytes): # # Failed test (t/01-connect_ok.t at line 77) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 82) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 87) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 92) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 97) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 102) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 107) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 77) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 82) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 87) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 92) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 97) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 102) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 107) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 117) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 117) # Got diag (41 bytes): # ' connect_ok() called with no hostname' # Expected diag (37 bytes): # ' connect_ok() called with no port' # Failed test (t/01-connect_ok.t at line 124) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 124) # Got diag (41 bytes): # ' connect_ok() called with no hostname' # Expected diag (37 bytes): # ' connect_ok() called with no port' # Failed test (t/01-connect_ok.t at line 129) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 129) # Got diag (41 bytes): # ' connect_ok() called with no hostname' # Expected diag (37 bytes): # ' connect_ok() called with no port' # Failed test (t/01-connect_ok.t at line 134) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 143) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 153) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 153) # Got diag (37 bytes): # ' connect_ok() called with no port' # Expected diag (40 bytes): # ' DNS lookup for 'foo.invalid' failed' # Failed test (t/01-connect_ok.t at line 162) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 162) # Got diag (41 bytes): # ' connect_not_ok() called with no port' # Expected diag (40 bytes): # ' DNS lookup for 'foo.invalid' failed' # Failed test (t/01-connect_ok.t at line 171) # got: '2' # expected: '1' # You need to change $Test::Builder::Level # Failed test (t/01-connect_ok.t at line 171) # Got diag (45 bytes): # ' connect_not_ok() called with no hostname' # Expected diag (47 bytes): # ' Connection to tcp://127.0.0.1:22 succeeded' # Looks like you failed 48 tests of 201. dubious Test returned status 48 (wstat 12288, 0x3000) DIED. FAILED tests 6, 8-9, 13, 15-16, 20, 22, 26-28, 32, 34, 38, 40-41, 45-48, 54, 61, 68, 75, 82, 89, 96, 103, 110, 117, 124, 131, 138, 145, 152-153, 159-160, 166-167, 173, 180, 186-187, 193-194, 200-201 Failed 48/201 tests, 76.12% okay t/pod-coverage.....ok t/pod..............ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/01-connect_ok.t 48 12288 201 48 23.88% 6 8-9 13 15-16 20 22 26-28 32 34 38 40-41 45-48 54 61 68 75 82 89 96 103 110 117 124 131 138 145 152-153 159-160 166- 167 173 180 186-187 193-194 200-201 Failed 1/4 test scripts, 75.00% okay. 48/206 subtests failed, 76.70% okay.