In perl.git, the branch tonyc/cygwin-ping has been created
<http://perl5.git.perl.org/perl.git/commitdiff/9bec1d0a3bc0942beeb82738a54b05d036d3fdff?hp=0000000000000000000000000000000000000000>
at 9bec1d0a3bc0942beeb82738a54b05d036d3fdff (commit)
- Log -----------------------------------------------------------------
commit 9bec1d0a3bc0942beeb82738a54b05d036d3fdff
Author: Tony Cook <[email protected]>
Date: Fri Jul 27 23:57:41 2012 +1000
Net-Ping: Win7 has the same restrictions as Vista
Presumably Win8 will have the same.
M dist/Net-Ping/t/510_ping_udp.t
commit 90f2d227b72c761d842024075b867c7755164f6b
Author: Tony Cook <[email protected]>
Date: Fri Jul 27 23:47:05 2012 +1000
Net-Ping: creating an icmp socket requires admin access on recent cygwin
on recent Windows.
cygwin on XP can create an icmp socket as a normal user but can't do
anything with it. On Vista or Win7 the process must be running as
an admin to create the socket.
If someone sees value in running the test on cygwin on XP, they can
provide a patch.
M dist/Net-Ping/t/110_icmp_inst.t
commit 828844a2406894cf250b10c8b20fced09c3117f7
Author: Tony Cook <[email protected]>
Date: Fri Jul 27 23:39:39 2012 +1000
Net-Ping: add a sensible test note for the icmp ping test
M dist/Net-Ping/t/500_ping_icmp.t
commit 51c90419380eda2bd789b5d59f79d4e4ed3d00d1
Author: Tony Cook <[email protected]>
Date: Fri Jul 27 23:38:59 2012 +1000
fix the cygwin breakage introduced in 2f794ae1
All modern Win32 systems* require admin access to use ICMP sockets from
cygwin, the refactor in 2f794ae1 changed the condition for the skip,
producing a failure here where the test is run unprivileged under
cygwin.
* assuming XP can be called modern
M dist/Net-Ping/t/500_ping_icmp.t
-----------------------------------------------------------------------
--
Perl5 Master Repository