From d0f8d4668bdc0445d35348e240426188cd53a352 Mon Sep 17 00:00:00 2001
From: Pierre LALET <pierre.lalet@cea.fr>
Date: Fri, 15 Jan 2016 13:31:16 +0100
Subject: [PATCH] Add netaccess tag to tests when appropriate

---
 scapy/contrib/HomePlugAV.uts | 1 +
 test/edns0.uts               | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/scapy/contrib/HomePlugAV.uts b/scapy/contrib/HomePlugAV.uts
index 62434eb1..9b405958 100644
--- a/scapy/contrib/HomePlugAV.uts
+++ b/scapy/contrib/HomePlugAV.uts
@@ -94,6 +94,7 @@ NetworkInfoConfirmationV10 in a or NetworkInfoConfirmationV11 in a
 _ == True
 
 = Reading local 0x400st octets of Software Image in Module Data blocks
+~ netaccess HomePlugAV ReadModuleDataRequest
 pkt = Ether()/HomePlugAV()/ReadModuleDataRequest(ModuleID=0x1)
 a = srp1(pkt, iface="eth0")
 a
diff --git a/test/edns0.uts b/test/edns0.uts
index d7a448aa..b3eb6f14 100644
--- a/test/edns0.uts
+++ b/test/edns0.uts
@@ -46,6 +46,8 @@ tlv = EDNS0TLV(optcode=5, optdata="\x00\x11\x22\x33")
 str(tlv) == '\x00\x05\x00\x04\x00\x11"3'
 
 = EDNS-PING - Live test
+~ netaccess
+* NB: 85.17.219.217 and www.edns-ping.org seem down
 r = sr1(IP(dst="85.17.219.217")/UDP()/DNS(qd=[DNSQR(qtype="A", qname="www.edns-ping.org.")], ar=[DNSRROPT(z=0, rdata=[EDNS0TLV(optcode="PING", optdata="\x00\x11\x22\x33")])]), timeout=1)
 len(r.ar) and r.ar.rdata[0].optcode == 4  # XXX: should be 5
 
@@ -56,5 +58,7 @@ tlv = EDNS0TLV(optcode=2, optdata="")
 str(tlv) == '\x00\x02\x00\x00'
 
 = NSID - Live test
+~ netaccess
+* NB: 85.17.219.217 and www.edns-ping.org seem down
 r = sr1(IP(dst="85.17.219.217")/UDP()/DNS(qd=[DNSQR(qtype="A", qname="www.edns-ping.org.")], ar=[DNSRROPT(z=0, rdata=[EDNS0TLV(optcode="NSID")])]), timeout=1)
 r.ar.rdata[0].optcode == 3 and r.ar.rdata[0].optdata == "dns01"
-- 
GitLab