aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-12-08 10:59:25 (GMT)
committerJouni Malinen <j@w1.fi>2018-12-08 12:06:58 (GMT)
commit7436cd366edf6d235ab3f4c6e2a48754609301f9 (patch)
tree28e3bc64860b9dd46f41d6cf89dfaa2eadd58006 /tests
parent2205ca0dfe139926f1dbc47012906d03b960f9ea (diff)
downloadhostap-7436cd366edf6d235ab3f4c6e2a48754609301f9.zip
hostap-7436cd366edf6d235ab3f4c6e2a48754609301f9.tar.gz
hostap-7436cd366edf6d235ab3f4c6e2a48754609301f9.tar.bz2
tests: Update Hotspot 2.0 release number expectation to 3
Match the implementation change to fix the test cases that verified a specific Hotspot 2.0 release number indication. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/hwsim/test_ap_hs20.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/hwsim/test_ap_hs20.py b/tests/hwsim/test_ap_hs20.py
index bf8a60d..9fa3668 100644
--- a/tests/hwsim/test_ap_hs20.py
+++ b/tests/hwsim/test_ap_hs20.py
@@ -665,7 +665,7 @@ def test_ap_hs20_username(dev, apdev):
status = dev[0].get_status()
if status['pairwise_cipher'] != "CCMP":
raise Exception("Unexpected pairwise cipher")
- if status['hs20'] != "2":
+ if status['hs20'] != "3":
raise Exception("Unexpected HS 2.0 support indication")
dev[1].connect("test-hs20", key_mgmt="WPA-EAP", eap="TTLS",
@@ -698,7 +698,7 @@ def test_ap_hs20_connect_api(dev, apdev):
status = wpas.get_status()
if status['pairwise_cipher'] != "CCMP":
raise Exception("Unexpected pairwise cipher")
- if status['hs20'] != "2":
+ if status['hs20'] != "3":
raise Exception("Unexpected HS 2.0 support indication")
def test_ap_hs20_auto_interworking(dev, apdev):
@@ -723,7 +723,7 @@ def test_ap_hs20_auto_interworking(dev, apdev):
status = dev[0].get_status()
if status['pairwise_cipher'] != "CCMP":
raise Exception("Unexpected pairwise cipher")
- if status['hs20'] != "2":
+ if status['hs20'] != "3":
raise Exception("Unexpected HS 2.0 support indication")
@remote_compatible
@@ -3891,7 +3891,7 @@ def test_ap_hs20_external_selection(dev, apdev):
ca_cert="auth_serv/ca.pem", phase2="auth=MSCHAPV2",
scan_freq="2412", update_identifier="54321",
roaming_consortium_selection="1020304050")
- if dev[0].get_status_field("hs20") != "2":
+ if dev[0].get_status_field("hs20") != "3":
raise Exception("Unexpected hs20 indication")
network_id = dev[0].get_status_field("id")
sel = dev[0].get_network(network_id, "roaming_consortium_selection")