]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: hostapd dump_msk_file
authorJouni Malinen <quic_jouni@quicinc.com>
Thu, 10 Nov 2022 11:22:39 +0000 (13:22 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 10 Nov 2022 19:13:05 +0000 (21:13 +0200)
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
tests/hwsim/test_erp.py

index 50cec8dc6d93100041a5b50e63bcfc66d928311c..d083993e8275ccc002349fb8f8641da4659f4184 100644 (file)
@@ -127,10 +127,10 @@ def start_erp_as(erp_domain="example.com", msk_dump=None, tls13=False,
     apdev = {'ifname': 'as-erp'}
     return hostapd.add_ap(apdev, params, driver="none")
 
-def test_erp_radius(dev, apdev):
+def test_erp_radius(dev, apdev, params):
     """ERP enabled on RADIUS server and peer"""
     check_erp_capa(dev[0])
-    start_erp_as()
+    start_erp_as(msk_dump=params['prefix'] + ".msk")
     params = hostapd.wpa2_eap_params(ssid="test-wpa2-eap")
     params['auth_server_port'] = "18128"
     params['erp_send_reauth_start'] = '1'