From 02ad9f0b8d134092e6f549f7cef86ea06e179c16 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 27 Dec 2016 20:52:57 +0200 Subject: [PATCH] tests: Invalid hostapd STA ctrl_iface command subparameter Signed-off-by: Jouni Malinen --- tests/hwsim/test_hapd_ctrl.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/hwsim/test_hapd_ctrl.py b/tests/hwsim/test_hapd_ctrl.py index c3412cc4c..95ef451a4 100644 --- a/tests/hwsim/test_hapd_ctrl.py +++ b/tests/hwsim/test_hapd_ctrl.py @@ -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"):