From: Jouni Malinen Date: Sat, 4 Jan 2020 16:08:03 +0000 (+0200) Subject: tests: Detect tshark regression in wpas_mesh_gate_forwarding X-Git-Tag: hostap_2_10~1988 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e62a1cbaf17e091797c1b277542d302cfe98c8ab;p=thirdparty%2Fhostap.git tests: Detect tshark regression in wpas_mesh_gate_forwarding Skip this test case if the used tshark version has regression in mesh control field parsing: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=15521 Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_wpas_mesh.py b/tests/hwsim/test_wpas_mesh.py index ad8f4f5d8..0e80a5a21 100644 --- a/tests/hwsim/test_wpas_mesh.py +++ b/tests/hwsim/test_wpas_mesh.py @@ -1464,6 +1464,13 @@ def test_wpas_mesh_gate_forwarding(dev, apdev, p): break time.sleep(0.5) + if addr0 not in da and addr1 not in da: + filt = "wlan.sa==%s" % addr2 + mesh = run_tshark(capfile, filt, ["wlan.mesh.control_field"]) + if "1" not in mesh: + # Wireshark regression in mesh control field parsing: + # https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=15521 + raise HwsimSkip("tshark bug 15521") if addr0 not in da: raise Exception("Frame to gate %s not observed" % addr0) if addr1 not in da: