You are welcome. Here is the output of your test t/00-load.t when it failed because my network router was rebooting when I ran it:
[12:48][nick:~/.cpan/build/Net-SNTP-Client-0.01-4Dgp0y]$ perl -T t/00-
+load.t
ok 1 - use Net::SNTP::Client;
# Testing Net::SNTP::Client 0.01, Perl 5.016000, /Users/nick/perl5/per
+lbrew/perls/perl-5.16.0/bin/perl
ok 2 - Module Hash Input Works
ok 3 - Hostname Must be Defined
ok 4 - Port Has to be Defined and Integer
ok 5 - Got Hash Output
not ok 6 - Module Hash Keys are Identical
# Failed test 'Module Hash Keys are Identical'
# at t/00-load.t line 97.
# Structures begin differing at:
# $got->[0] = '-hostname'
# $expected->[0] = '0.pool.ntp.org'
not ok 7 - Exptected Output From the Module Received
# Failed test 'Exptected Output From the Module Received'
# at t/00-load.t line 99.
# Comparing hash keys of $data
# Missing: '0.pool.ntp.org', 'RFC4330', 't/00-load.t'
# Extra: '-hostname', '-port'
ok 8 - Faulty Test Extra Key
ok 9 - Correct Output Error Extra Hash Key
ok 10 - Faulty Test no Hostname
ok 11 - Correct Output Error No Hostname
ok 12 - Faulty Test Negative Port Number
ok 13 - Correct Output Error for Negative Port Number
ok 14 - Faulty Test Out of Range Port Number
ok 15 - Correct Output Error Out of Range Port Number
1..15
# Looks like you failed 2 tests of 15.
Here is the output when I ran it with net connection:
[12:51][nick:~/.cpan/build/Net-SNTP-Client-0.01-4Dgp0y]$ perl -T t/00-
+load.t
ok 1 - use Net::SNTP::Client;
# Testing Net::SNTP::Client 0.01, Perl 5.016000, /Users/nick/perl5/per
+lbrew/perls/perl-5.16.0/bin/perl
ok 2 - Module Hash Input Works
ok 3 - Hostname Must be Defined
ok 4 - Port Has to be Defined and Integer
ok 5 - Got Hash Output
ok 6 - Module Hash Keys are Identical
ok 7 - Exptected Output From the Module Received
ok 8 - Faulty Test Extra Key
ok 9 - Correct Output Error Extra Hash Key
ok 10 - Faulty Test no Hostname
ok 11 - Correct Output Error No Hostname
ok 12 - Faulty Test Negative Port Number
ok 13 - Correct Output Error for Negative Port Number
ok 14 - Faulty Test Out of Range Port Number
ok 15 - Correct Output Error Out of Range Port Number
1..15
and
[12:51][nick:~/.cpan/build/Net-SNTP-Client-0.01-4Dgp0y]$ make test TES
+T_VERBOSE=1
PERL_DL_NONLAZY=1 "/Users/nick/perl5/perlbrew/perls/perl-5.16.0/bin/pe
+rl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Ha
+rness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t .......
ok 1 - use Net::SNTP::Client;
# Testing Net::SNTP::Client 0.01, Perl 5.016000, /Users/nick/perl5/per
+lbrew/perls/perl-5.16.0/bin/perl
ok 2 - Module Hash Input Works
ok 3 - Hostname Must be Defined
ok 4 - Port Has to be Defined and Integer
ok 5 - Got Hash Output
ok 6 - Module Hash Keys are Identical
ok 7 - Exptected Output From the Module Received
ok 8 - Faulty Test Extra Key
ok 9 - Correct Output Error Extra Hash Key
ok 10 - Faulty Test no Hostname
ok 11 - Correct Output Error No Hostname
ok 12 - Faulty Test Negative Port Number
ok 13 - Correct Output Error for Negative Port Number
ok 14 - Faulty Test Out of Range Port Number
ok 15 - Correct Output Error Out of Range Port Number
1..15
ok
t/manifest.t ......
1..0 # SKIP Author tests not required for installation
skipped: Author tests not required for installation
t/pod-coverage.t ..
1..0 # SKIP Author tests not required for installation
skipped: Author tests not required for installation
t/pod.t ...........
1..0 # SKIP Author tests not required for installation
skipped: Author tests not required for installation
All tests successful.
Files=4, Tests=15, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.15 cusr
+ 0.03 csys = 0.23 CPU)
Result: PASS
Remember: Ne dederis in spiritu molere illegitimi!
|