From: Jouni Malinen Date: Sun, 10 May 2020 12:36:24 +0000 (+0300) Subject: tests: Update dpp_peer_intro_local_failures to match implementation X-Git-Tag: hostap_2_10~1355 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b227515fae40583b04b41a9abd335241c53c3365;p=thirdparty%2Fhostap.git 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 --- 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):