From 0c00679b156c61ad66e0a7ec9d460449c29f2454 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 26 Jan 2020 16:50:20 +0200 Subject: [PATCH] tests: Check for TLS library capabilities in sigma_dut test cases These test cases cannot be run with CONFIG_TLS=internal. Signed-off-by: Jouni Malinen --- tests/hwsim/test_sigma_dut.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/hwsim/test_sigma_dut.py b/tests/hwsim/test_sigma_dut.py index af26e5969..0ca57fb63 100644 --- a/tests/hwsim/test_sigma_dut.py +++ b/tests/hwsim/test_sigma_dut.py @@ -24,7 +24,7 @@ from hwsim import HWSimRadio import hwsim_utils from test_dpp import check_dpp_capab, update_hapd_config, wait_auth_success from test_suite_b import check_suite_b_192_capa, suite_b_as_params, suite_b_192_rsa_ap_params -from test_ap_eap import check_eap_capa, int_eap_server_params +from test_ap_eap import check_eap_capa, int_eap_server_params, check_domain_match, check_domain_suffix_match from test_ap_hs20 import hs20_ap_params def check_sigma_dut(): @@ -649,6 +649,7 @@ def test_sigma_dut_ap_psk_deauth(dev, apdev, params): def test_sigma_dut_eap_ttls(dev, apdev, params): """sigma_dut controlled STA and EAP-TTLS parameters""" + check_domain_match(dev[0]) logdir = params['logdir'] with open("auth_serv/ca.pem", "r") as f: @@ -3351,6 +3352,7 @@ def run_sigma_dut_eap_ttls_uosc_initial_tod(dev, apdev, params, tofu): def test_sigma_dut_eap_ttls_uosc_ca_mistrust(dev, apdev, params): """sigma_dut controlled STA and EAP-TTLS with UOSC when CA is not trusted""" + check_domain_suffix_match(dev[0]) logdir = params['logdir'] with open("auth_serv/ca.pem", "r") as f: