From b227515fae40583b04b41a9abd335241c53c3365 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 10 May 2020 15:36:24 +0300 Subject: [PATCH] tests: Update dpp_peer_intro_local_failures to match implementation The memory allocation in dpp_peer_intro() was moved into a helper function dpp_check_signed_connector(), so update the test case to match. Signed-off-by: Jouni Malinen --- tests/hwsim/test_dpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_dpp.py b/tests/hwsim/test_dpp.py index d832b98d4..ff3faaa0f 100644 --- a/tests/hwsim/test_dpp.py +++ b/tests/hwsim/test_dpp.py @@ -4214,7 +4214,7 @@ def test_dpp_peer_intro_local_failures(dev, apdev): tests = [(1, "base64_gen_decode;dpp_peer_intro"), (1, "json_parse;dpp_peer_intro"), (50, "json_parse;dpp_peer_intro"), - (1, "=dpp_peer_intro"), + (1, "=dpp_check_signed_connector;dpp_peer_intro"), (1, "dpp_parse_jwk")] for count, func in tests: with alloc_fail(dev[0], count, func):