From d8aa603d53f96d19c844cc2b07d7a5a23665cd6b Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 27 Jul 2015 13:54:03 +0300 Subject: [PATCH] tests: Skip fst_attach_wpas_error if no FST support This check for FST testing support was forgotten from one of the new FST test cases. Signed-off-by: Jouni Malinen --- tests/hwsim/test_fst_module.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/hwsim/test_fst_module.py b/tests/hwsim/test_fst_module.py index c23df8349..7af6415a2 100644 --- a/tests/hwsim/test_fst_module.py +++ b/tests/hwsim/test_fst_module.py @@ -2635,6 +2635,8 @@ def _test_fst_many_setup(dev, apdev, test_params): def test_fst_attach_wpas_error(dev, apdev, test_params): """FST attach errors in wpa_supplicant""" + if "OK" not in dev[0].global_request("FST-MANAGER TEST_REQUEST IS_SUPPORTED"): + raise HwsimSkip("No FST testing support") group = "fstg0" wpas = WpaSupplicant(global_iface='/tmp/wpas-wlan5') wpas.interface_add("wlan5")