Subject: | Net::Ping-2.52 fails on MS Windows (t/001_new.t, t/410_syn_host.t) |
Hi, I have experienced the following failure:
Running Makefile.PL
Configuring Net-Ping-2.52 ... Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Net::Ping
Writing MYMETA.yml and MYMETA.json
OK
Checking dependencies from MYMETA.json ...
Checking if you have Time::HiRes 0 ... Yes (1.9726)
Checking if you have Test::More 0 ... Yes (1.001014)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.10)
Checking if you have Socket 2.007 ... Yes (2.019)
Building and testing Net-Ping-2.52 ... cp lib/Net/Ping.pm blib\lib\Net\Ping.pm
"D:\strawberry32\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/zz_legacy/*.t
t/000_load.t .......... 1/? # Testing Net::Ping 2.52, Perl 5.022000, D:\strawberry32\perl\bin\perl.exe
t/000_load.t .......... ok
t/001_new.t ........... 1/? # Checking icmp
icmp ping requires root privilege at t/001_new.t line 57.
# Looks like your test exited with 2 just after 9.
t/001_new.t ........... Dubious, test returned 2 (wstat 512, 0x200)
All 9 subtests passed
t/010_pingecho.t ...... ok
t/020_external.t ...... ok
t/110_icmp_inst.t ..... ok
t/120_udp_inst.t ...... ok
t/130_tcp_inst.t ...... ok
t/140_stream_inst.t ... ok
t/150_syn_inst.t ...... ok
t/190_alarm.t ......... ok
t/200_ping_tcp.t ...... ok
t/250_ping_hires.t .... ok
t/300_ping_stream.t ... skipped: loopback tcp echo service is off (No connection could be made because the target machine actively refused it.)
t/400_ping_syn.t ...... ok
t/410_syn_host.t ...... 1/19
# Failed test 'supposed to be down: http://127.0.0.1/ [Timed out]'
t/410_syn_host.t ...... 12/19 # at t/410_syn_host.t line 91.
# got: '1'
# expected: '0'
# Looks like you failed 1 test of 19.
t/410_syn_host.t ...... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/19 subtests
t/450_service.t ....... ok
t/500_ping_icmp.t ..... 'sudo' is not recognized as an internal or external command,
operable program or batch file.
t/500_ping_icmp.t ..... skipped: no sudo/failed
t/510_ping_udp.t ...... ok
t/520_icmp_ttl.t ...... ok
t/600_pod.t ........... ok
t/601_pod-coverage.t .. skipped: This test is only run for the module author
Test Summary Report
-------------------
t/001_new.t (Wstat: 512 Tests: 9 Failed: 0)
Non-zero exit status: 2
t/410_syn_host.t (Wstat: 256 Tests: 19 Failed: 1)
Failed test: 12
Non-zero exit status: 1
Files=21, Tests=123, 58 wallclock secs ( 0.16 usr + 0.17 sys = 0.33 CPU)
Result: FAIL