tests: Skip ap_wpa2_eap_fast_eap_sim if no EAP-FAST support

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2017-11-18 13:49:19 +02:00
parent 94619905c8
commit 9626bfbb8d

View file

@ -1759,6 +1759,7 @@ def run_ap_wpa2_eap_peap_eap_sim_ext(dev, apdev):
def test_ap_wpa2_eap_fast_eap_sim(dev, apdev): def test_ap_wpa2_eap_fast_eap_sim(dev, apdev):
"""WPA2-Enterprise connection using EAP-FAST/EAP-SIM""" """WPA2-Enterprise connection using EAP-FAST/EAP-SIM"""
check_eap_capa(dev[0], "FAST")
params = hostapd.wpa2_eap_params(ssid="test-wpa2-eap") params = hostapd.wpa2_eap_params(ssid="test-wpa2-eap")
hapd = hostapd.add_ap(apdev[0], params) hapd = hostapd.add_ap(apdev[0], params)
eap_connect(dev[0], hapd, "FAST", "1232010000000000", eap_connect(dev[0], hapd, "FAST", "1232010000000000",