zephyr/tests/kernel
Stephen Smalley 48475ef69b tests/kernel/mem_protect/protection: fix test_main arguments
test_main() takes no arguments, so this was causing a fault
after returning from test_main due to the stack canary checking.

Before, the test run ends with:
PROJECT EXECUTION SUCCESSFUL
***** CPU Page Fault (error code 0x00000011)
Supervisor thread executed address 0x00400000
PDE: 0x027 Present, Writable, User, Execute Enabled
PTE: 0x80000000267 Present, Writable, User, Execute Disable
Current thread ID = 0x00401080
Faulting segment:address = 0x0008:0x00400000
eax: 0x00000000, ebx: 0x00000000, ecx: 0x0040b19c, edx: 0x000056df
esi: 0x00000000, edi: 0x00000000, ebp: 0x000051c0, esp: 0x0040b1d8
eflags: 0x246
Caught system error -- reason 6

After, the test run ends with:
PROJECT EXECUTION SUCCESSFUL

Reported-by: Joshua Domagalski <jedomag@tycho.ncsc.mil>
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2017-11-27 13:11:42 -08:00
..
alert/alert_api kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
arm_irq_vector_table kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
arm_runtime_nmi kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
bitfield kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
common kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
context tests: context: convert legacy test to ztest 2017-11-14 10:02:43 -08:00
critical kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
errno kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
fatal tests: fatal: convert legacy test to ztest 2017-11-13 16:35:27 -05:00
fifo/fifo_api kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
fp_sharing kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
gen_isr_table kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
irq_offload kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
libs kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
lifo/lifo_api kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
mbox/mbox_api kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
mem_heap/mheap_api_concept tests: mheap_api_concept: test k_calloc() 2017-11-14 12:50:10 -08:00
mem_pool kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
mem_protect tests/kernel/mem_protect/protection: fix test_main arguments 2017-11-27 13:11:42 -08:00
mem_slab kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
msgq/msgq_api kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
multilib kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
mutex tests: mutex: convert legacy test to ztest 2017-11-15 09:23:42 -05:00
obj_tracing kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
pending tests: pending: Make use of ztest framework 2017-11-15 09:25:17 -05:00
pipe/pipe_api tests/kernel/pipe: fix uninitialized semaphore 2017-11-14 09:47:19 -08:00
poll kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
profiling/profiling_api kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
pthread kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
queue kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
semaphore/sema_api kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
sleep tests: sleep: convert legacy test to ztest 2017-11-15 09:27:07 -05:00
sprintf kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
stack/stack_api kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
static_idt kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
systhreads kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
test_build kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
threads kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
tickless tests: tickless: Make use of ztest framework 2017-11-15 09:25:17 -05:00
timer tests: timer_monotonic: Migrate legacy test to ztest 2017-11-14 09:50:12 -08:00
workq tests: work_queue: Convert legacy test to ztest 2017-11-14 10:02:02 -08:00
xip kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00