tests: kernel: userspace: extend bad syscall-ID test-case
Extend the bad syscall-ID test case to cover erroneously supplied larged unsiged syscall-ID values. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
parent
502b67ceba
commit
61fc061fc4
1 changed files with 4 additions and 0 deletions
|
@ -1112,6 +1112,10 @@ void test_bad_syscall(void)
|
|||
|
||||
arch_syscall_invoke0(INT_MAX);
|
||||
|
||||
expect_fault = true;
|
||||
expected_reason = K_ERR_KERNEL_OOPS;
|
||||
|
||||
arch_syscall_invoke0(UINT_MAX);
|
||||
}
|
||||
|
||||
static struct k_sem recycle_sem;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue