Subject: | Test failures on Windows |
Using the latest CPAN distro (2.41) I have three test failures on Windows 7 x64 with VC++ 2010 (running 'as Administrator' -- with UAC switched off):
D:\temp\Net-Ping-2.41>perl -Mblib t/200_ping_tcp.t
1..13
ok 1 - use Net::Ping;
ok 2 - new() worked isa Net::Ping
ok 3 - Test on the default port
ok 4
ok 5 - Test localhost on the web port
not ok 6 - Can't reach 172.29.249.249
# Failed test 'Can't reach 172.29.249.249'
# at t/200_ping_tcp.t line 48.
# got: '1'
# expected: '0'
ok 7 - Can ping www.geocities.com
ok 8 - Can ping www.wisc.edu
ok 9 - Can ping www.freeservers.com
ok 10 - Can ping ftp.freeservers.com
ok 11 - Can ping yahoo.com
ok 12 - Can ping www.yahoo.com
ok 13 - Can ping www.about.com
# Looks like you failed 1 test of 13.
D:\temp\Net-Ping-2.41>perl -Mblib t/400_ping_syn.t
1..17
ok 1 - use Net::Ping;
ok 2 - new() worked isa Net::Ping
ok 3 - valid port
ok 4 - Can reach www.about.com. []
ok 5 - Can reach yahoo.com. []
ok 6 - Can reach 172.29.249.249 []
ok 7 - Can reach www.geocities.com. []
ok 8 - Can reach www.microsoft.com. []
ok 9 - Can reach www.yahoo.com. []
ok 10 - Can reach www.freeservers.com. []
ok 11 - supposed to be up: http://www.about.com./
ok 12 - supposed to be up: http://yahoo.com./
not ok 13 - supposed to be up: http://172.29.249.249/
# Failed test 'supposed to be up: http://172.29.249.249/'
# at t/400_ping_syn.t line 85.
# got: '0'
# expected: '1'
ok 14 - supposed to be up: http://www.geocities.com./
ok 15 - supposed to be up: http://www.microsoft.com./
ok 16 - supposed to be up: http://www.yahoo.com./
ok 17 - supposed to be up: http://www.freeservers.com./
# Looks like you failed 1 test of 17.
D:\temp\Net-Ping-2.41>perl -Mblib t/410_syn_host.t
1..19
ok 1 - use Net::Ping;
ok 2 - new() worked isa Net::Ping
ok 3 - vaid port
ok 4 - Can reach yahoo.com. []
ok 5 - Can reach www.yahoo.com. []
ok 6 - Can reach 127.0.0.1 []
ok 7 - Can reach www.microsoft.com. []
ok 8 - Can reach www.freeservers.com. []
ok 9 - Can reach 172.29.249.249 []
ok 10 - Can reach www.geocities.com. []
ok 11 - Can reach www.about.com. []
ok 12 - supposed to be up: http://127.0.0.1/ []
not ok 13 - supposed to be up: http://172.29.249.249/ []
# Failed test 'supposed to be up: http://172.29.249.249/ []'
# at t/410_syn_host.t line 88.
# got: '0'
# expected: '1'
ok 14 - supposed to be up: http://www.about.com./ []
ok 15 - supposed to be up: http://www.freeservers.com./ []
ok 16 - supposed to be up: http://www.geocities.com./ []
ok 17 - supposed to be up: http://www.microsoft.com./ []
ok 18 - supposed to be up: http://www.yahoo.com./ []
ok 19 - supposed to be up: http://yahoo.com./ []
# Looks like you failed 1 test of 19.