From: Jouni Malinen Date: Tue, 15 Apr 2014 20:50:49 +0000 (+0300) Subject: tests: More converage for INTERFACE_ADD X-Git-Tag: hostap_2_2~254 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a354dc06f9c57ff237240495169d4286d6d4b69;p=thirdparty%2Fhostap.git tests: More converage for INTERFACE_ADD Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_wpas_ctrl.py b/tests/hwsim/test_wpas_ctrl.py index e3655278d..3df697773 100644 --- a/tests/hwsim/test_wpas_ctrl.py +++ b/tests/hwsim/test_wpas_ctrl.py @@ -864,7 +864,17 @@ def test_wpas_ctrl_global(dev): raise Exception("INTERFACE_ADD succeeded unexpectedly") if "FAIL" not in wpas.global_request("INTERFACE_ADD FOO"): 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"): 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 "): raise Exception("INTERFACE_ADD succeeded unexpectedly")