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 <j@w1.fi>
This commit is contained in:
parent
dad2f3253c
commit
e62a1cbaf1
1 changed files with 7 additions and 0 deletions
|
@ -1464,6 +1464,13 @@ def test_wpas_mesh_gate_forwarding(dev, apdev, p):
|
||||||
break
|
break
|
||||||
time.sleep(0.5)
|
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:
|
if addr0 not in da:
|
||||||
raise Exception("Frame to gate %s not observed" % addr0)
|
raise Exception("Frame to gate %s not observed" % addr0)
|
||||||
if addr1 not in da:
|
if addr1 not in da:
|
||||||
|
|
Loading…
Reference in a new issue