summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas R <atoomic@cpan.org>2019-02-13 20:22:10 -0600
committerNicolas R <atoomic@cpan.org>2019-02-14 10:48:52 -0600
commit551524d7c29d0588fce9077be3d0ec93f8ca4c71 (patch)
treeb7c742ef08eca4eafd35be67151514a9194ac80e
parent2e598186867b2c0c875266a20b92853486e2b627 (diff)
downloadperl-551524d7c29d0588fce9077be3d0ec93f8ca4c71.tar.gz
Net::Ping 501_ping_icmpv6.t: disable sudo test
This is similar to the changes made in 7bfdd8260c we do not want to use 'sudo' during the tests.
-rwxr-xr-xPorting/Maintainers.pl1
-rw-r--r--dist/Net-Ping/t/501_ping_icmpv6.t2
-rw-r--r--t/porting/customized.dat1
3 files changed, 3 insertions, 1 deletions
diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl
index af3a68f2df..e07e222dbb 100755
--- a/Porting/Maintainers.pl
+++ b/Porting/Maintainers.pl
@@ -825,6 +825,7 @@ use File::Glob qw(:case);
lib/Net/Ping.pm
t/000_load.t
t/500_ping_icmp.t
+ t/501_ping_icmpv6.t
),
],
diff --git a/dist/Net-Ping/t/501_ping_icmpv6.t b/dist/Net-Ping/t/501_ping_icmpv6.t
index f29e16cadb..7d89f01cc9 100644
--- a/dist/Net-Ping/t/501_ping_icmpv6.t
+++ b/dist/Net-Ping/t/501_ping_icmpv6.t
@@ -19,7 +19,7 @@ BEGIN {
}
my $is_devel = $ENV{PERL_CORE} || -d ".git" ? 1 : 0;
-if (!Net::Ping::_isroot()) {
+if (0 && !Net::Ping::_isroot()) {
my $file = __FILE__;
my $lib = $ENV{PERL_CORE} ? '-I../../lib' : '-Mblib';
# -n prevents from asking for a password. rather fail then
diff --git a/t/porting/customized.dat b/t/porting/customized.dat
index f64938478f..bfc1b2a200 100644
--- a/t/porting/customized.dat
+++ b/t/porting/customized.dat
@@ -12,6 +12,7 @@ NEXT cpan/NEXT/t/next.t 66fd60eb0f75b6f3eea95d1dee745f9a7a348146
Net::Ping dist/Net-Ping/lib/Net/Ping.pm e2e7053673ead1eff8f3ca8ecdd9b838598c1d8c
Net::Ping dist/Net-Ping/t/000_load.t deff5dc2ca54dae28cb19d3631427db127279ac2
Net::Ping dist/Net-Ping/t/500_ping_icmp.t 3eeb60181c01b85f876bd6658644548fdf2e24d4
+Net::Ping dist/Net-Ping/t/501_ping_icmpv6.t 54373de5858f8fb7e078e4998a4b3b8dbca91783
Pod::Checker cpan/Pod-Checker/t/pod/contains_bad_pod.xr 73538fd80dfe6e19ad561fe034009b44460208f6
Pod::Checker cpan/Pod-Checker/t/pod/selfcheck.t 8ce3cfd38e4b9bcf5bc7fe7f2a14195e49aed7d8
Pod::Checker cpan/Pod-Checker/t/pod/testcmp.pl a0cd5c8eca775c7753f4464eee96fa916e3d8a16