tests: More coverage in wpas_ctrl_sched_scan_plans

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2016-05-28 23:00:42 +03:00
parent 7012e2589f
commit 3d53cd50ab

View file

@ -1874,6 +1874,11 @@ def test_wpas_ctrl_sched_scan_plans(dev, apdev):
"""wpa_supplicant sched_scan_plans parsing""" """wpa_supplicant sched_scan_plans parsing"""
dev[0].request("SET sched_scan_plans foo") dev[0].request("SET sched_scan_plans foo")
dev[0].request("SET sched_scan_plans 10:100 20:200 30") 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 ") dev[0].request("SET sched_scan_plans ")
def test_wpas_ctrl_signal_monitor(dev, apdev): def test_wpas_ctrl_signal_monitor(dev, apdev):