From 1c63a1c4c610b447dd961a7663d9aaa04fcc8030 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 23 Jul 2019 13:15:23 +0300 Subject: [PATCH] tests: Prepare EAP-pwd test cases for allowed group configuration Enable all supported groups in the existing ap_wpa2_eap_pwd_groups and ap_wpa2_eap_pwd_invalid_group test cases to maintain current testing functionality once wpa_supplicant is modified to use a different default for the enabled groups. Signed-off-by: Jouni Malinen --- tests/hwsim/test_ap_eap.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/hwsim/test_ap_eap.py b/tests/hwsim/test_ap_eap.py index 759b7c768..c64f8307b 100644 --- a/tests/hwsim/test_ap_eap.py +++ b/tests/hwsim/test_ap_eap.py @@ -2811,7 +2811,8 @@ def test_ap_wpa2_eap_pwd_groups(dev, apdev): params['pwd_group'] = str(i) hapd = hostapd.add_ap(apdev[0], params) eap_connect(dev[0], hapd, "PWD", "pwd user", - password="secret password") + password="secret password", + phase1="eap_pwd_groups=0-65535") dev[0].request("REMOVE_NETWORK all") dev[0].wait_disconnected() dev[0].dump_monitor() @@ -2829,6 +2830,7 @@ def test_ap_wpa2_eap_pwd_invalid_group(dev, apdev): hapd = hostapd.add_ap(apdev[0], params) dev[0].connect("test-wpa2-eap", key_mgmt="WPA-EAP", eap="PWD", identity="pwd user", password="secret password", + phase1="eap_pwd_groups=0-65535", scan_freq="2412", wait_connect=False) ev = dev[0].wait_event(["CTRL-EVENT-EAP-FAILURE"]) if ev is None: