From: Jouni Malinen Date: Tue, 27 Dec 2016 22:38:51 +0000 (+0200) Subject: tests: hostapd global ctrl_iface DETACH failure X-Git-Tag: hostap_2_7~1892 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53cef5e58d6c45d5ba5a767e2ab7013b627f90fc;p=thirdparty%2Fhostap.git tests: hostapd global ctrl_iface DETACH failure Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_hapd_ctrl.py b/tests/hwsim/test_hapd_ctrl.py index ff82b1260..61b30203e 100644 --- a/tests/hwsim/test_hapd_ctrl.py +++ b/tests/hwsim/test_hapd_ctrl.py @@ -503,6 +503,9 @@ def test_hapd_ctrl_global(dev, apdev): if apdev[0]['ifname'] + " ctrl_iface=" not in res: raise Exception("AP interface missing from INTERFACES ctrl") + if "FAIL" not in hapd_global.request("DETACH"): + raise Exception("DETACH succeeded unexpectedly") + def dup_network(hapd_global, src, dst, param): res = hapd_global.request("DUP_NETWORK %s %s %s" % (src, dst, param)) if "OK" not in res: