From 3d53cd50abbf498d828ea2187dcec0dd50512956 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 28 May 2016 23:00:42 +0300 Subject: [PATCH] tests: More coverage in wpas_ctrl_sched_scan_plans Signed-off-by: Jouni Malinen --- tests/hwsim/test_wpas_ctrl.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/hwsim/test_wpas_ctrl.py b/tests/hwsim/test_wpas_ctrl.py index bb138faa9..eb5d11318 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):