aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2016-05-28 20:00:42 (GMT)
committerJouni Malinen <j@w1.fi>2016-05-28 20:00:42 (GMT)
commit3d53cd50abbf498d828ea2187dcec0dd50512956 (patch)
treed139b0af2083ffacd8a6ffb89ac8ffa9a2e3b0cb /tests
parent7012e2589fcc24d8cc26c2cb757d3aff8660e533 (diff)
downloadhostap-3d53cd50abbf498d828ea2187dcec0dd50512956.zip
hostap-3d53cd50abbf498d828ea2187dcec0dd50512956.tar.gz
hostap-3d53cd50abbf498d828ea2187dcec0dd50512956.tar.bz2
tests: More coverage in wpas_ctrl_sched_scan_plans
Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'tests')
-rw-r--r--tests/hwsim/test_wpas_ctrl.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/hwsim/test_wpas_ctrl.py b/tests/hwsim/test_wpas_ctrl.py
index bb138fa..eb5d113 100644
--- a/tests/hwsim/test_wpas_ctrl.py
+++ b/tests/hwsim/test_wpas_ctrl.py
@@ -1874,6 +1874,11 @@ def test_wpas_ctrl_sched_scan_plans(dev, apdev):
"""wpa_supplicant sched_scan_plans parsing"""
dev[0].request("SET sched_scan_plans foo")
dev[0].request("SET sched_scan_plans 10:100 20:200 30")
+ with alloc_fail(dev[0], 1, "wpas_sched_scan_plans_set"):
+ dev[0].request("SET sched_scan_plans 10:100")
+ dev[0].request("SET sched_scan_plans 4294967295:0")
+ dev[0].request("SET sched_scan_plans 1 1")
+ dev[0].request("SET sched_scan_plans ")
dev[0].request("SET sched_scan_plans ")
def test_wpas_ctrl_signal_monitor(dev, apdev):