aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2018-05-28 14:00:52 (GMT)
committerJouni Malinen <j@w1.fi>2018-05-28 19:09:20 (GMT)
commitb30639b77e6092466f14ed1946206e54c6deee71 (patch)
treea8f17d3dadcb5c1fde143e6b55df03bb07d1604b
parent0744e303cfd20f571ed11774702bf4116d0b8f12 (diff)
downloadhostap-b30639b77e6092466f14ed1946206e54c6deee71.zip
hostap-b30639b77e6092466f14ed1946206e54c6deee71.tar.gz
hostap-b30639b77e6092466f14ed1946206e54c6deee71.tar.bz2
tests: Adjust eap_proto_pwd_errors to match implementation changes
Signed-off-by: Jouni Malinen <j@w1.fi>
-rw-r--r--tests/hwsim/test_eap_proto.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/hwsim/test_eap_proto.py b/tests/hwsim/test_eap_proto.py
index 2ff6743..d920b92 100644
--- a/tests/hwsim/test_eap_proto.py
+++ b/tests/hwsim/test_eap_proto.py
@@ -6302,7 +6302,7 @@ def test_eap_proto_pwd_errors(dev, apdev):
dev[0].request("REMOVE_NETWORK all")
dev[0].wait_disconnected()
- for i in range(1, 7):
+ for i in range(1, 5):
with alloc_fail(dev[0], i, "eap_pwd_perform_id_exchange"):
dev[0].connect("eap-test", key_mgmt="WPA-EAP", scan_freq="2412",
eap="PWD", identity="pwd user",
@@ -6336,7 +6336,7 @@ def test_eap_proto_pwd_errors(dev, apdev):
dev[0].request("REMOVE_NETWORK all")
dev[0].wait_disconnected()
- for i in range(1, 4):
+ for i in range(1, 9):
with alloc_fail(dev[0], i, "eap_pwd_perform_commit_exchange"):
dev[0].connect("eap-test", key_mgmt="WPA-EAP", scan_freq="2412",
eap="PWD", identity="pwd user",
@@ -6406,7 +6406,7 @@ def test_eap_proto_pwd_errors(dev, apdev):
dev[0].wait_disconnected()
with fail_test(dev[0], 1,
- "hash_nt_password_hash;eap_pwd_perform_id_exchange"):
+ "hash_nt_password_hash;eap_pwd_perform_commit_exchange"):
dev[0].connect("eap-test", key_mgmt="WPA-EAP", scan_freq="2412",
eap="PWD", identity="pwd-hash",
password_hex="hash:e3718ece8ab74792cbbfffd316d2d19a",