From 0ff7afbc42e0a2748bcd23bd58421171dd00a95c Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 11 Jan 2015 19:55:04 +0200 Subject: [PATCH] tests: Verify mesh support for wpas_add_set_remove_support This test case fails if wpa_supplicant is built without mesh support, so need to check for this. Signed-off-by: Jouni Malinen --- tests/hwsim/test_wpas_mesh.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/hwsim/test_wpas_mesh.py b/tests/hwsim/test_wpas_mesh.py index 80b5c79a6..9a3351a47 100644 --- a/tests/hwsim/test_wpas_mesh.py +++ b/tests/hwsim/test_wpas_mesh.py @@ -97,6 +97,7 @@ def check_mesh_peer_disconnected(dev): def test_wpas_add_set_remove_support(dev): """wpa_supplicant MESH add/set/remove network support""" + check_mesh_support(dev[0]) id = dev[0].add_network() dev[0].set_network(id, "mode", "5") dev[0].remove_network(id)