In perl.git, the branch tonyc/cygwin-ping has been created
<http://perl5.git.perl.org/perl.git/commitdiff/de81d29d7fcf9038dabd6aab750f4e74013555d9?hp=0000000000000000000000000000000000000000>
at de81d29d7fcf9038dabd6aab750f4e74013555d9 (commit)
- Log -----------------------------------------------------------------
commit de81d29d7fcf9038dabd6aab750f4e74013555d9
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 6075e46fd4e652efbb14c16895a9309e9149b1b4
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 4bf7959ea5259e7c9deca27a55d16e37b55b1dd0
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 when 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