Merging upstream version 2.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
50f6a45557
commit
c2a4b9519f
35 changed files with 364 additions and 122 deletions
|
@ -200,8 +200,7 @@ def get_tids_to_test(family, src_ip, ifname):
|
|||
]
|
||||
|
||||
|
||||
class DummyDevice:
|
||||
...
|
||||
class DummyDevice: ...
|
||||
|
||||
|
||||
class Test(unittest.TestCase):
|
||||
|
@ -295,6 +294,11 @@ class Test(unittest.TestCase):
|
|||
def test__cid_matches_tid(self):
|
||||
ifaces = iputil.net_if_addrs()
|
||||
for ifname, addrs in self.ifaces.items():
|
||||
# <ifaces> contains a subset of the interfaces found in <self.ifaces>.
|
||||
# So, let's make sure that we only test with the interfaces found in both.
|
||||
if ifname not in ifaces:
|
||||
continue
|
||||
|
||||
##############################################
|
||||
# IPV4
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue