mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-21 03:23:04 -05:00
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:
parent
aff4b2c139
commit
d8aa603d53
@ -2635,6 +2635,8 @@ def _test_fst_many_setup(dev, apdev, test_params):
|
|||||||
|
|
||||||
def test_fst_attach_wpas_error(dev, apdev, test_params):
|
def test_fst_attach_wpas_error(dev, apdev, test_params):
|
||||||
"""FST attach errors in wpa_supplicant"""
|
"""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"
|
group = "fstg0"
|
||||||
wpas = WpaSupplicant(global_iface='/tmp/wpas-wlan5')
|
wpas = WpaSupplicant(global_iface='/tmp/wpas-wlan5')
|
||||||
wpas.interface_add("wlan5")
|
wpas.interface_add("wlan5")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user