tests: Check for domain_suffix_match in HS 2.0 PPS MO testing

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2020-01-26 16:56:06 +02:00
parent 362889638b
commit 07dd83dd77

View file

@ -12,7 +12,7 @@ import subprocess
import hostapd import hostapd
from utils import HwsimSkip from utils import HwsimSkip
from test_ap_hs20 import hs20_ap_params, interworking_select, interworking_connect, check_sp_type from test_ap_hs20 import hs20_ap_params, interworking_select, interworking_connect, check_sp_type
from test_ap_eap import check_eap_capa from test_ap_eap import check_eap_capa, check_domain_suffix_match
def check_hs20_osu_client(): def check_hs20_osu_client():
if not os.path.exists("../../hs20/client/hs20-osu-client"): if not os.path.exists("../../hs20/client/hs20-osu-client"):
@ -27,6 +27,7 @@ def test_hs20_pps_mo_1(dev, apdev):
"""Hotspot 2.0 PPS MO with username/password credential""" """Hotspot 2.0 PPS MO with username/password credential"""
check_hs20_osu_client() check_hs20_osu_client()
check_eap_capa(dev[0], "MSCHAPV2") check_eap_capa(dev[0], "MSCHAPV2")
check_domain_suffix_match(dev[0])
bssid = apdev[0]['bssid'] bssid = apdev[0]['bssid']
params = hs20_ap_params() params = hs20_ap_params()
params['hessid'] = bssid params['hessid'] = bssid