From d691d4545dc0594bc4bf13c4c07eeeaf73c3b232 Mon Sep 17 00:00:00 2001 From: Andrea Bastoni Date: Fri, 26 Aug 2011 16:55:43 +0200 Subject: tests: add valid budget_policy to rt_task parameters Since set_rt_task_param() checks for wrong budget policies, make sure to specify a valid policy to avoid errors like the following. litmus: real-time task 3635 rejected because unsupported budget enforcement policy specified --- tests/core_api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/core_api.c b/tests/core_api.c index 7487c1c..7f7a099 100644 --- a/tests/core_api.c +++ b/tests/core_api.c @@ -22,6 +22,7 @@ TESTCASE(set_rt_task_param_invalid_params, ALL, params.period = 100; params.phase = 0; params.cls = RT_CLASS_HARD; + params.budget_policy = NO_ENFORCEMENT; /* over utilize */ params.exec_cost = 110; -- cgit v1.2.2