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 <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2020-05-10 15:36:24 +03:00 committed by Jouni Malinen
parent 94f73f90ef
commit b227515fae

View file

@ -4214,7 +4214,7 @@ def test_dpp_peer_intro_local_failures(dev, apdev):
tests = [(1, "base64_gen_decode;dpp_peer_intro"), tests = [(1, "base64_gen_decode;dpp_peer_intro"),
(1, "json_parse;dpp_peer_intro"), (1, "json_parse;dpp_peer_intro"),
(50, "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")] (1, "dpp_parse_jwk")]
for count, func in tests: for count, func in tests:
with alloc_fail(dev[0], count, func): with alloc_fail(dev[0], count, func):