]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Skip ap_ft_eap_sha384_reassoc without CONFIG_SUITEB192=y
authorJouni Malinen <j@w1.fi>
Sat, 25 May 2019 19:24:30 +0000 (22:24 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 25 May 2019 19:24:30 +0000 (22:24 +0300)
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>
tests/hwsim/test_ap_ft.py

index 6c780efe3a822c55dddc69eb5dc737c59a93046c..f1b87a89be9e77604b203ff1790f973c25d7f3e2 100644 (file)
@@ -22,6 +22,7 @@ from utils import HwsimSkip, alloc_fail, fail_test, wait_fail_trigger, skip_with
 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_rrm import check_beacon_req
+from test_suite_b import check_suite_b_192_capa
 
 def ft_base_rsn():
     params = {"wpa": "2",
@@ -2782,6 +2783,7 @@ def test_ap_ft_eap_sha384(dev, apdev):
 
 def test_ap_ft_eap_sha384_reassoc(dev, apdev):
     """WPA2-EAP-FT with SHA384 using REASSOCIATE"""
+    check_suite_b_192_capa(dev)
     ssid = "test-ft"
     passphrase = "12345678"