From 5f1e31cfc8a3cba4dd937b7f8780708f6fd86386 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Thu, 19 Dec 2013 20:46:07 -0800 Subject: [PATCH] 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 --- tests/hwsim/test_ap_hs20.py | 3 ++- tests/hwsim/wpasupplicant.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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])