diff options
-rw-r--r-- | lib/Net/Ping/t/110_icmp_inst.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Net/Ping/t/110_icmp_inst.t b/lib/Net/Ping/t/110_icmp_inst.t index bf27289163..41f8e155e5 100644 --- a/lib/Net/Ping/t/110_icmp_inst.t +++ b/lib/Net/Ping/t/110_icmp_inst.t @@ -16,6 +16,8 @@ plan tests => 2; ok 1; if (($> and $^O ne 'VMS') + or ($^O eq 'MSWin32' + and Win32::IsWinNT()) or ($^O eq 'VMS' and (`write sys\$output f\$privilege("SYSPRV")` =~ m/FALSE/))) { skip "icmp ping requires root privileges.", 1; |