tests: More converage for INTERFACE_ADD
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
20066e3fe7
commit
2a354dc06f
1 changed files with 10 additions and 0 deletions
|
@ -864,7 +864,17 @@ def test_wpas_ctrl_global(dev):
|
||||||
raise Exception("INTERFACE_ADD succeeded unexpectedly")
|
raise Exception("INTERFACE_ADD succeeded unexpectedly")
|
||||||
if "FAIL" not in wpas.global_request("INTERFACE_ADD FOO"):
|
if "FAIL" not in wpas.global_request("INTERFACE_ADD FOO"):
|
||||||
raise Exception("INTERFACE_ADD succeeded unexpectedly")
|
raise Exception("INTERFACE_ADD succeeded unexpectedly")
|
||||||
|
if "FAIL" not in wpas.global_request("INTERFACE_ADD FOO conf"):
|
||||||
|
raise Exception("INTERFACE_ADD succeeded unexpectedly")
|
||||||
|
if "FAIL" not in wpas.global_request("INTERFACE_ADD FOO conf driver"):
|
||||||
|
raise Exception("INTERFACE_ADD succeeded unexpectedly")
|
||||||
|
if "FAIL" not in wpas.global_request("INTERFACE_ADD FOO conf driver ctrliface"):
|
||||||
|
raise Exception("INTERFACE_ADD succeeded unexpectedly")
|
||||||
|
if "FAIL" not in wpas.global_request("INTERFACE_ADD FOO conf driver ctrliface driverparam"):
|
||||||
|
raise Exception("INTERFACE_ADD succeeded unexpectedly")
|
||||||
if "FAIL" not in wpas.global_request("INTERFACE_ADD FOO conf driver ctrliface driverparam bridge"):
|
if "FAIL" not in wpas.global_request("INTERFACE_ADD FOO conf driver ctrliface driverparam bridge"):
|
||||||
raise Exception("INTERFACE_ADD succeeded unexpectedly")
|
raise Exception("INTERFACE_ADD succeeded unexpectedly")
|
||||||
|
if "FAIL" not in wpas.global_request("INTERFACE_ADD FOO conf driver ctrliface driverparam bridge foo"):
|
||||||
|
raise Exception("INTERFACE_ADD succeeded unexpectedly")
|
||||||
if "FAIL" not in wpas.global_request("INTERFACE_ADD FOO "):
|
if "FAIL" not in wpas.global_request("INTERFACE_ADD FOO "):
|
||||||
raise Exception("INTERFACE_ADD succeeded unexpectedly")
|
raise Exception("INTERFACE_ADD succeeded unexpectedly")
|
||||||
|
|
Loading…
Reference in a new issue