summaryrefslogtreecommitdiff
path: root/dev-perl/Net-RawIP/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-perl/Net-RawIP/files
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/Net-RawIP/files')
-rw-r--r--dev-perl/Net-RawIP/files/Net-RawIP-0.25-no-network-tests.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-perl/Net-RawIP/files/Net-RawIP-0.25-no-network-tests.patch b/dev-perl/Net-RawIP/files/Net-RawIP-0.25-no-network-tests.patch
new file mode 100644
index 000000000000..8eddbdd9a1d0
--- /dev/null
+++ b/dev-perl/Net-RawIP/files/Net-RawIP-0.25-no-network-tests.patch
@@ -0,0 +1,25 @@
+From ba688d50d538e571f124ebbfd8b8a8402c50fdfb Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Fri, 15 Dec 2017 20:36:58 +1300
+Subject: Disable world-wide DNS lookups when NO_NETWORK_TESTING
+
+---
+ t/iflist.t | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/t/iflist.t b/t/iflist.t
+index 0982c77..d8026cd 100644
+--- a/t/iflist.t
++++ b/t/iflist.t
+@@ -32,6 +32,8 @@ BEGIN { $tests += 4 } SKIP: {
+ like( $@, qr{host_to_ip: failed}, "rdev('ab cd') => undef" );
+
+ # this test will fail if there is not network connection
++ skip "NO_NETWORK_TESTING=1", 1
++ if 1 eq ( $ENV{NO_NETWORK_TESTING} || '0' );
+ $r = rdev('cisco.com');
+ ok( $r, "rdev('cisco.com') => $r" );
+ }
+--
+2.15.1
+