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 <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2015-07-27 13:54:03 +03:00 committed by Jouni Malinen
parent aff4b2c139
commit d8aa603d53

View file

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