tests: Invalid hostapd STA ctrl_iface command subparameter

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2016-12-27 20:52:57 +02:00
parent 7b28c40892
commit 02ad9f0b8d

View File

@ -67,6 +67,8 @@ def test_hapd_ctrl_sta(dev, apdev):
raise Exception("Unexpected STA failure")
if "FAIL" not in hapd.request("STA " + addr + " eapol"):
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"):
raise Exception("Unexpected STA success")
if "FAIL" not in hapd.request("STA 00:11:22:33:44:55"):