tests: hostapd global ctrl_iface DETACH failure
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
f4d66e7b3c
commit
53cef5e58d
1 changed files with 3 additions and 0 deletions
|
@ -503,6 +503,9 @@ def test_hapd_ctrl_global(dev, apdev):
|
||||||
if apdev[0]['ifname'] + " ctrl_iface=" not in res:
|
if apdev[0]['ifname'] + " ctrl_iface=" not in res:
|
||||||
raise Exception("AP interface missing from INTERFACES ctrl")
|
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):
|
def dup_network(hapd_global, src, dst, param):
|
||||||
res = hapd_global.request("DUP_NETWORK %s %s %s" % (src, dst, param))
|
res = hapd_global.request("DUP_NETWORK %s %s %s" % (src, dst, param))
|
||||||
if "OK" not in res:
|
if "OK" not in res:
|
||||||
|
|
Loading…
Reference in a new issue