]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Check for domain_suffix_match in HS 2.0 PPS MO testing
authorJouni Malinen <j@w1.fi>
Sun, 26 Jan 2020 14:56:06 +0000 (16:56 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 26 Jan 2020 14:56:06 +0000 (16:56 +0200)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_hs20_pps_mo.py

index bdc135a131ca44742e047550e51b2a627e64ac83..5b0cf12025c8da376e1ed96238a4e22715037922 100644 (file)
@@ -12,7 +12,7 @@ import subprocess
 import hostapd
 from utils import HwsimSkip
 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():
     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"""
     check_hs20_osu_client()
     check_eap_capa(dev[0], "MSCHAPV2")
+    check_domain_suffix_match(dev[0])
     bssid = apdev[0]['bssid']
     params = hs20_ap_params()
     params['hessid'] = bssid