From: Jouni Malinen Date: Fri, 20 Dec 2013 04:46:07 +0000 (-0800) Subject: tests: Add update_identifier to one of the HS 2.0 test cases X-Git-Tag: hostap_2_2~741 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f1e31cfc8a3cba4dd937b7f8780708f6fd86386;p=thirdparty%2Fhostap.git tests: Add update_identifier to one of the HS 2.0 test cases This allows debug logs to be used to verify byte order in the PPS MO ID fields. Signed-hostap: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_hs20.py b/tests/hwsim/test_ap_hs20.py index 49b9c65d0..102865e4a 100644 --- a/tests/hwsim/test_ap_hs20.py +++ b/tests/hwsim/test_ap_hs20.py @@ -403,7 +403,8 @@ def test_ap_hs20_username(dev, apdev): id = dev[0].add_cred_values({ 'realm': "example.com", 'username': "hs20-test", 'password': "password", - 'domain': "example.com" }) + 'domain': "example.com", + 'update_identifier': "1234" }) interworking_select(dev[0], bssid, "home", freq="2412") interworking_connect(dev[0], bssid, "TTLS") check_sp_type(dev[0], "home") diff --git a/tests/hwsim/wpasupplicant.py b/tests/hwsim/wpasupplicant.py index 46f233e0a..9dfa037f8 100644 --- a/tests/hwsim/wpasupplicant.py +++ b/tests/hwsim/wpasupplicant.py @@ -217,7 +217,7 @@ class WpaSupplicant: not_quoted = [ "eap", "roaming_consortium", "required_roaming_consortium", "sp_priority", - "max_bss_load" ] + "max_bss_load", "update_identifier" ] for field in not_quoted: if field in params: self.set_cred(id, field, params[field])