From: Jouni Malinen Date: Mon, 3 Jun 2019 17:30:51 +0000 (+0300) Subject: tests: Skip mesh_link_probe if kernel support not present X-Git-Tag: hostap_2_9~169 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fhostap.git;a=commitdiff_plain;h=ea27fcff615226a958ec0b7302741287c772f063 tests: Skip mesh_link_probe if kernel support not present Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_wpas_mesh.py b/tests/hwsim/test_wpas_mesh.py index 818004804..5b8b16602 100644 --- a/tests/hwsim/test_wpas_mesh.py +++ b/tests/hwsim/test_wpas_mesh.py @@ -2499,7 +2499,9 @@ def test_mesh_link_probe(dev, apdev, params): for i in range(3): check_mesh_peer_connected(dev[i]) - dev[0].request("MESH_LINK_PROBE " + addr1) + res = dev[0].request("MESH_LINK_PROBE " + addr1) + if "FAIL" in res: + raise HwsimSkip("MESH_LINK_PROBE kernel side support missing") dev[0].request("MESH_LINK_PROBE " + addr2 + " payload=aabbccdd") dev[1].request("MESH_LINK_PROBE " + addr0 + " payload=bbccddee") dev[1].request("MESH_LINK_PROBE " + addr2 + " payload=ccddeeff")