This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Raw socket require privileged user on Win2k
authorMattia Barbon <mbarbon@dsi.unive.it>
Sun, 10 Mar 2002 22:10:15 +0000 (23:10 +0100)
committerAbhijit Menon-Sen <ams@wiw.org>
Mon, 11 Mar 2002 03:28:04 +0000 (03:28 +0000)
   From: "Mattia Barbon" <mbarbon@dsi.unive.it>
   Message-Id: <3C8BD9C7.610.7398DD@localhost>

p4raw-id: //depot/perl@15158

lib/Net/Ping/t/110_icmp_inst.t

index bf27289..41f8e15 100644 (file)
@@ -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;