diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2014-04-01 13:42:48 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2014-04-01 13:46:26 -0400 |
commit | 68f124a16f1e0c75e6ce5c31a139da1c222b51d8 (patch) | |
tree | 52d59c0865a5d175c09fdde3db334e3bb07655fd | |
parent | c56eeff06a8e9726fe83797a228b82988f4f8ce2 (diff) |
Remove invalid CPU parameter test
The LITMUS^RT kernel was changed to no longer test for "invalid" CPU
paramters to allow reuse of the CPU parameter to denote virtual CPUs,
reservations, etc.
This patch removes the corresponding test.
-rw-r--r-- | tests/core_api.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/core_api.c b/tests/core_api.c index 0a87838..8cb5588 100644 --- a/tests/core_api.c +++ b/tests/core_api.c | |||
@@ -32,11 +32,7 @@ TESTCASE(set_rt_task_param_invalid_params, ALL, | |||
32 | /* over utilize */ | 32 | /* over utilize */ |
33 | params.exec_cost = 110; | 33 | params.exec_cost = 110; |
34 | SYSCALL_FAILS( EINVAL, set_rt_task_param(gettid(), ¶ms) ); | 34 | SYSCALL_FAILS( EINVAL, set_rt_task_param(gettid(), ¶ms) ); |
35 | |||
36 | /* bad CPU */ | ||
37 | params.exec_cost = 90; | 35 | params.exec_cost = 90; |
38 | params.cpu = -1; | ||
39 | SYSCALL_FAILS( EINVAL, set_rt_task_param(gettid(), ¶ms) ); | ||
40 | 36 | ||
41 | /* infeasible density */ | 37 | /* infeasible density */ |
42 | params.cpu = 0; | 38 | params.cpu = 0; |