tests: Skip ap_ft_eap_sha384_reassoc without CONFIG_SUITEB192=y

This test case required Suite B 192-bit support to be enabled in the
build, so skip it if that is not the case.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2019-05-25 22:24:30 +03:00
parent 18f4fc43f2
commit e1923f5b6a

View file

@ -22,6 +22,7 @@ from utils import HwsimSkip, alloc_fail, fail_test, wait_fail_trigger, skip_with
from wlantest import Wlantest from wlantest import Wlantest
from test_ap_psk import check_mib, find_wpas_process, read_process_memory, verify_not_present, get_key_locations from test_ap_psk import check_mib, find_wpas_process, read_process_memory, verify_not_present, get_key_locations
from test_rrm import check_beacon_req from test_rrm import check_beacon_req
from test_suite_b import check_suite_b_192_capa
def ft_base_rsn(): def ft_base_rsn():
params = {"wpa": "2", params = {"wpa": "2",
@ -2782,6 +2783,7 @@ def test_ap_ft_eap_sha384(dev, apdev):
def test_ap_ft_eap_sha384_reassoc(dev, apdev): def test_ap_ft_eap_sha384_reassoc(dev, apdev):
"""WPA2-EAP-FT with SHA384 using REASSOCIATE""" """WPA2-EAP-FT with SHA384 using REASSOCIATE"""
check_suite_b_192_capa(dev)
ssid = "test-ft" ssid = "test-ft"
passphrase = "12345678" passphrase = "12345678"