]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Work around compiler differences in forcing failures
authorJouni Malinen <quic_jouni@quicinc.com>
Tue, 17 Dec 2024 17:46:43 +0000 (19:46 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 17 Dec 2024 18:04:23 +0000 (20:04 +0200)
Something in the compiler update when moving from Ubuntu 22.04 to 24.04
made these test cases unable to trigger one of the failure sequences.
Modify the failure pattern to avoid this.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
tests/hwsim/test_eap_proto.py

index 66f26889aa6f85b6018ade7e05e3e17668c32f12..651a631f52a8d19793d2c8a7a507547781a53930 100644 (file)
@@ -827,7 +827,8 @@ def test_eap_proto_sake_errors(dev, apdev):
              (1, "eap_sake_compute_mic;eap_sake_process_challenge"),
              (1, "eap_sake_build_msg;eap_sake_process_confirm"),
              (1, "eap_sake_compute_mic;eap_sake_process_confirm"),
-             (2, "eap_sake_compute_mic;=eap_sake_process_confirm"),
+             (2, "eap_sake_compute_mic"),
+             (3, "eap_sake_compute_mic"),
              (1, "eap_sake_getKey"),
              (1, "eap_sake_get_emsk"),
              (1, "eap_sake_get_session_id")]
@@ -5550,7 +5551,7 @@ def test_eap_proto_sim_errors(dev, apdev):
         dev[0].request("REMOVE_NETWORK all")
         dev[0].dump_monitor()
 
-    tests = [(1, "eap_sim_verify_mac;eap_sim_process_challenge"),
+    tests = [(1, "eap_sim_verify_mac"),
              (1, "eap_sim_parse_encr;eap_sim_process_challenge"),
              (1, "eap_sim_msg_init;eap_sim_response_start"),
              (1, "wpabuf_alloc;eap_sim_msg_init;eap_sim_response_start"),