The test trying to free a unallocated address is now erroneous since ODP is using ishm too: unknown drvshm addresses may well be valid ODP addresses, in which case the test frees someone else memory! The test is simply suppressed.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- test/common_plat/validation/drv/drvshmem/drvshmem.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/common_plat/validation/drv/drvshmem/drvshmem.c b/test/common_plat/validation/drv/drvshmem/drvshmem.c index 559c55d..0247a03 100644 --- a/test/common_plat/validation/drv/drvshmem/drvshmem.c +++ b/test/common_plat/validation/drv/drvshmem/drvshmem.c @@ -135,8 +135,6 @@ void drvshmem_test_basic(void) shared_test_data->foo = TEST_SHARE_FOO; shared_test_data->bar = TEST_SHARE_BAR; - CU_ASSERT(odpdrv_shm_free_by_address((char *)shared_test_data - 1) < 0); - thrdarg.numthrds = odp_cpumask_default_worker(&unused, 0); if (thrdarg.numthrds > MAX_WORKERS) -- 2.7.4