From: Jouni Malinen Date: Fri, 12 Dec 2014 17:08:24 +0000 (+0200) Subject: tests: DRIVER_EVENT failure case X-Git-Tag: hostap_2_4~813 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f157078c13142b3068f84ce9b1f3ada5ecb6ea12;p=thirdparty%2Fhostap.git tests: DRIVER_EVENT failure case Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_wpas_ctrl.py b/tests/hwsim/test_wpas_ctrl.py index 9b3e04ced..1a3edb52f 100644 --- a/tests/hwsim/test_wpas_ctrl.py +++ b/tests/hwsim/test_wpas_ctrl.py @@ -1149,3 +1149,8 @@ def test_wpas_ctrl_mgmt_tx(dev, apdev): if "OK" not in dev[0].request("MGMT_TX_DONE"): raise Exception("MGMT_TX_DONE failed") + +def test_wpas_ctrl_driver_event(dev, apdev): + """wpa_supplicant ctrl_iface DRIVER_EVENT""" + if "FAIL" not in dev[0].request("DRIVER_EVENT foo"): + raise Exception("Invalid DRIVER_EVENT accepted")