mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-17 18:34:03 -05:00
tests: Remove duplicated connectivity test from mesh
hwsim_utils.test_connectivity() is already bidirectional test, so there is no need to run it twice with the devices swapped for the second iteration. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
882f894831
commit
4b57af2aaa
@ -224,7 +224,6 @@ def _test_wpas_mesh_open(dev, apdev, test_connectivity):
|
|||||||
|
|
||||||
# Test connectivity 0->1 and 1->0
|
# Test connectivity 0->1 and 1->0
|
||||||
test_connectivity(dev[0], dev[1])
|
test_connectivity(dev[0], dev[1])
|
||||||
test_connectivity(dev[1], dev[0])
|
|
||||||
|
|
||||||
|
|
||||||
def test_wpas_mesh_open(dev, apdev):
|
def test_wpas_mesh_open(dev, apdev):
|
||||||
@ -258,7 +257,6 @@ def _test_wpas_mesh_open_no_auto(dev, apdev, test_connectivity):
|
|||||||
|
|
||||||
# Test connectivity 0->1 and 1->0
|
# Test connectivity 0->1 and 1->0
|
||||||
test_connectivity(dev[0], dev[1])
|
test_connectivity(dev[0], dev[1])
|
||||||
test_connectivity(dev[1], dev[0])
|
|
||||||
|
|
||||||
|
|
||||||
def test_wpas_mesh_open_no_auto(dev, apdev):
|
def test_wpas_mesh_open_no_auto(dev, apdev):
|
||||||
@ -295,7 +293,6 @@ def _test_wpas_mesh_secure(dev, apdev, test_connectivity):
|
|||||||
|
|
||||||
# Test connectivity 0->1 and 1->0
|
# Test connectivity 0->1 and 1->0
|
||||||
test_connectivity(dev[0], dev[1])
|
test_connectivity(dev[0], dev[1])
|
||||||
test_connectivity(dev[1], dev[0])
|
|
||||||
|
|
||||||
|
|
||||||
def test_wpas_mesh_secure(dev, apdev):
|
def test_wpas_mesh_secure(dev, apdev):
|
||||||
@ -333,7 +330,6 @@ def _test_wpas_mesh_secure_no_auto(dev, apdev, test_connectivity):
|
|||||||
|
|
||||||
# Test connectivity 0->1 and 1->0
|
# Test connectivity 0->1 and 1->0
|
||||||
test_connectivity(dev[0], dev[1])
|
test_connectivity(dev[0], dev[1])
|
||||||
test_connectivity(dev[1], dev[0])
|
|
||||||
|
|
||||||
|
|
||||||
def test_wpas_mesh_secure_no_auto(dev, apdev):
|
def test_wpas_mesh_secure_no_auto(dev, apdev):
|
||||||
|
Loading…
Reference in New Issue
Block a user