]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Invalid hostapd STA ctrl_iface command subparameter
authorJouni Malinen <j@w1.fi>
Tue, 27 Dec 2016 18:52:57 +0000 (20:52 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 28 Dec 2016 12:31:43 +0000 (14:31 +0200)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_hapd_ctrl.py

index c3412cc4c3cb5159a78ef76df8b920f04c5c57c3..95ef451a432430aab483e1fd39e77d97277bc4df 100644 (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"):