mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
tests: hostapd and RELOG
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
d620ae2f54
commit
603b09b950
@ -834,3 +834,11 @@ def test_hapd_ctrl_eapol_reauth_errors(dev, apdev):
|
||||
for t in tests:
|
||||
if "FAIL" not in hapd.request("EAPOL_REAUTH " + t):
|
||||
raise Exception("Invalid EAPOL_REAUTH command accepted: " + t)
|
||||
|
||||
def test_hapd_ctrl_eapol_relog(dev, apdev):
|
||||
"""hostapd and RELOG"""
|
||||
ssid = "hapd-ctrl"
|
||||
params = { "ssid": ssid }
|
||||
hapd = hostapd.add_ap(apdev[0], params)
|
||||
if "OK" not in hapd.request("RELOG"):
|
||||
raise Exception("RELOG failed")
|
||||
|
Loading…
Reference in New Issue
Block a user