zephyr/tests
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
..
application_development tests: cxx: Enable exceptions 2019-09-19 09:26:42 -05:00
arch coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00
benchmarks coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
bluetooth coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00
boards coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00
crypto tests: tinycrypt: build only on native_posix 2019-10-01 10:42:19 -07:00
drivers coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
kernel test_pipe_contexts: don't free memory blocks handed to k_pipe_block_put 2019-10-09 11:15:46 -07:00
lib tests: gui: Pass image pointer to fs_write 2019-10-02 08:18:16 -04:00
misc/test_build tests: convert util test to a unit test 2019-09-30 07:09:42 -04:00
net coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
portability tests: move cmsis_rtos_v2 into portability 2019-09-27 15:23:26 -04:00
posix tests/posix/common: restructure to eliminate casts 2019-09-15 11:33:47 +08:00
shell tests: Never disable SMP 2019-09-26 16:54:06 -04:00
subsys coccinelle: standardize k_sleep calls with integer timeouts 2019-10-09 08:38:10 -04:00
unit tests: convert util test to a unit test 2019-09-30 07:09:42 -04:00
ztest subsys/testsuite: make tc_util overridable 2019-09-17 07:11:33 +08:00