From 9b2b99c550e0210da3fec38687245ea9a38eceeb Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Wed, 7 Aug 2019 00:10:26 +0300 Subject: [PATCH] tests: Additional EAP-SAKE local error case coverage Signed-off-by: Jouni Malinen --- tests/hwsim/test_eap_proto.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/hwsim/test_eap_proto.py b/tests/hwsim/test_eap_proto.py index 5ef5e195b..ddcaa3b01 100644 --- a/tests/hwsim/test_eap_proto.py +++ b/tests/hwsim/test_eap_proto.py @@ -824,7 +824,12 @@ def test_eap_proto_sake_errors(dev, apdev): dev[0].dump_monitor() tests = [(1, "os_get_random;eap_sake_process_challenge"), - (1, "eap_sake_derive_keys;eap_sake_process_challenge")] + (1, "eap_sake_derive_keys;eap_sake_process_challenge"), + (2, "eap_sake_derive_keys;eap_sake_process_challenge"), + (3, "eap_sake_derive_keys;eap_sake_process_challenge"), + (4, "eap_sake_derive_keys;eap_sake_process_challenge"), + (5, "eap_sake_derive_keys;eap_sake_process_challenge"), + (6, "eap_sake_derive_keys;eap_sake_process_challenge")] for count, func in tests: with fail_test(dev[0], count, func): dev[0].connect("eap-test", key_mgmt="WPA-EAP", scan_freq="2412",