zephyr/tests/kernel
Nicolas Pitre 0125cabec7 test_pipe_contexts: don't free memory blocks handed to k_pipe_block_put
Documentation for k_pipe_block_put() says:

  This routine writes the data contained in a memory block to pipe.
  Once all of the data in the block has been written to the pipe,
  it will free the memory block.

Therefore it is wrong to free the memory block within the test code.
When the mempool allocator is instrumented to detect double-free
instances, this case is signaled right away.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2019-10-09 11:15:46 -07:00
..
boot_page_table x86: abstract toplevel page table pointer 2019-10-04 15:53:49 -07:00
common coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
context coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
critical coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
device tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
early_sleep coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
fatal coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
fifo coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
fp_sharing coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00
gen_isr_table riscv32: rename to riscv 2019-08-02 13:54:48 -07:00
interrupt coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
lifo coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
mbox coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
mem_heap/mheap_api_concept malloc: make sure returned memory is properly aligned 2019-07-03 14:17:29 -07:00
mem_pool coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
mem_protect coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00
mem_slab coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
mp tests/kernel/mp: Update the MP test to run on emulated platforms 2019-10-06 12:53:28 -04:00
msgq/msgq_api coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
mutex coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
obj_tracing coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
pending coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
pipe test_pipe_contexts: don't free memory blocks handed to k_pipe_block_put 2019-10-09 11:15:46 -07:00
poll coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
profiling/profiling_api tests: Never disable SMP 2019-09-26 16:54:06 -04:00
queue coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
sched coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
semaphore coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
sleep coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
smp coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00
spinlock coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
stack coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
threads coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
tickless coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00
timer coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00
workq coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
xip x86: fix XIP SOC support and defaults 2019-09-11 21:11:38 -04:00