]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: dpp_pkex_alloc_fail to match implementation change
authorJouni Malinen <jouni@codeaurora.org>
Thu, 6 Feb 2020 01:46:17 +0000 (03:46 +0200)
committerJouni Malinen <jouni@codeaurora.org>
Sat, 8 Feb 2020 05:19:53 +0000 (07:19 +0200)
The new dpp_alloc_auth() function addition changed function call
backtraces for memory allocation failure tests.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/test_dpp.py

index cb3b841c797736f61ca05c973de1ebbe3aee2799..362a1c8a42f9e9d38f82dbfd50874f9277500f5b 100644 (file)
@@ -3501,8 +3501,8 @@ def test_dpp_pkex_alloc_fail(dev, apdev):
              (1, "dpp_alloc_msg;dpp_auth_build_conf"),
              (1, "dpp_bootstrap_key_hash"),
              (1, "dpp_auth_init"),
+             (1, "dpp_alloc_auth"),
              (1, "=dpp_auth_resp_rx"),
-             (2, "=dpp_auth_resp_rx"),
              (1, "dpp_build_conf_start"),
              (1, "dpp_build_conf_obj_dpp"),
              (2, "dpp_build_conf_obj_dpp"),
@@ -3552,8 +3552,8 @@ def test_dpp_pkex_alloc_fail(dev, apdev):
              (1, "dpp_alloc_msg;dpp_pkex_build_commit_reveal_resp"),
              (1, "dpp_alloc_msg;dpp_auth_build_resp"),
              (1, "dpp_get_pubkey_point;dpp_auth_build_resp_ok"),
+             (1, "dpp_alloc_auth"),
              (1, "=dpp_auth_req_rx"),
-             (2, "=dpp_auth_req_rx"),
              (1, "=dpp_auth_conf_rx"),
              (1, "json_parse;dpp_parse_jws_prot_hdr"),
              (1, "json_get_member_base64url;dpp_parse_jws_prot_hdr"),