From c7c964cd460e733d0b712e5e4c15a7eba78dc26c Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Mon, 20 Feb 2017 12:49:29 +0200 Subject: [PATCH] tests: RSN pre-authentication failure to add a PMKSA entry Signed-off-by: Jouni Malinen --- tests/hwsim/test_pmksa_cache.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/hwsim/test_pmksa_cache.py b/tests/hwsim/test_pmksa_cache.py index e1d0d3c41..28a765599 100644 --- a/tests/hwsim/test_pmksa_cache.py +++ b/tests/hwsim/test_pmksa_cache.py @@ -738,8 +738,10 @@ def _test_pmksa_cache_preauth_oom(dev, apdev): tests = [ (1, "rsn_preauth_receive"), (2, "rsn_preauth_receive"), - (1, "rsn_preauth_send") ] + (1, "rsn_preauth_send"), + (1, "wpa_auth_pmksa_add_preauth;rsn_preauth_finished") ] for test in tests: + hapd.request("DEAUTHENTICATE ff:ff:ff:ff:ff:ff") with alloc_fail(hapd, test[0], test[1]): dev[0].scan_for_bss(bssid1, freq="2412") if "OK" not in dev[0].request("PREAUTH " + bssid1):