zephyr/tests/legacy/kernel
Benjamin Walsh abaaf89d69 tests/context: fix Coverity warning about array overrun
Coverity was warning about an array overrun that should never happen.
Add an extra check to verify that is indeed the case.

Coverity issue 152017.

Change-Id: Ie6269acaa85387ba051dbff87b4bfaab860517a6
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2017-01-17 11:49:23 +00:00
..
test_arm_irq_vector_table arm: Replace CONFIG_CPU_CORTEX_M3_M4 with CONFIG_ARMV7_M 2017-01-12 09:46:25 -06:00
test_context tests/context: fix Coverity warning about array overrun 2017-01-17 11:49:23 +00:00
test_critical kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_early_sleep kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_errno kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_events samples/tests: reduce ram & code size for failing tests on nRF5x boards 2017-01-10 02:23:23 +00:00
test_fifo kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_fifo_priv kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_fp_sharing kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_irq_offload kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_libs kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_lifo kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_mail kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_mail_priv kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_map samples/tests: reduce ram & code size for failing tests on nRF5x boards 2017-01-10 02:23:23 +00:00
test_map_priv samples/tests: reduce ram & code size for failing tests on nRF5x boards 2017-01-10 02:23:23 +00:00
test_mem_safe kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_mutex kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_nano_work kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_obj_tracing kernel/arch: optimize memory use of some thread fields 2017-01-09 20:52:24 +00:00
test_pend kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_pipe kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_pipe_priv kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_pool kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_sema samples/tests: reduce ram & code size for failing tests on nRF5x boards 2017-01-10 02:23:23 +00:00
test_sema_priv kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_sleep kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_stack/nanokernel kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_stackprot kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_static_idt kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_task kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_task_priv kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_tickless/microkernel kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
test_timer kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00