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:
Jouni Malinen 2014-11-28 15:12:07 +02:00 committed by Jouni Malinen
parent 882f894831
commit 4b57af2aaa

View file

@ -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):