tests: Invalid hostapd STA ctrl_iface command subparameter
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
7b28c40892
commit
02ad9f0b8d
1 changed files with 2 additions and 0 deletions
|
@ -67,6 +67,8 @@ def test_hapd_ctrl_sta(dev, apdev):
|
||||||
raise Exception("Unexpected STA failure")
|
raise Exception("Unexpected STA failure")
|
||||||
if "FAIL" not in hapd.request("STA " + addr + " eapol"):
|
if "FAIL" not in hapd.request("STA " + addr + " eapol"):
|
||||||
raise Exception("Unexpected STA-eapol success")
|
raise Exception("Unexpected STA-eapol success")
|
||||||
|
if "FAIL" not in hapd.request("STA " + addr + " foo"):
|
||||||
|
raise Exception("Unexpected STA-foo success")
|
||||||
if "FAIL" not in hapd.request("STA 00:11:22:33:44"):
|
if "FAIL" not in hapd.request("STA 00:11:22:33:44"):
|
||||||
raise Exception("Unexpected STA success")
|
raise Exception("Unexpected STA success")
|
||||||
if "FAIL" not in hapd.request("STA 00:11:22:33:44:55"):
|
if "FAIL" not in hapd.request("STA 00:11:22:33:44:55"):
|
||||||
|
|
Loading…
Reference in a new issue