Commit d4f1e731 authored by Ioannis Glaropoulos's avatar Ioannis Glaropoulos Committed by David Leach
Browse files

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: default avatarIoannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent f3a459e7
Loading
Loading
Loading
Loading
+4 −0
Changes for tests/kernel/mem_protect/userspace/src/main.c: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -1083,6 +1083,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;