Message ID | 1459498238-29637-1-git-send-email-christophe.milard@linaro.org |
---|---|
State | Superseded |
Headers | show |
diff --git a/platform/linux-generic/test/shmem/shmem_odp.c b/platform/linux-generic/test/shmem/shmem_odp.c index df1d3ff..a1f750f 100644 --- a/platform/linux-generic/test/shmem/shmem_odp.c +++ b/platform/linux-generic/test/shmem/shmem_odp.c @@ -48,6 +48,7 @@ void shmem_test_odp_shm_proc(void) CU_ASSERT_FATAL(fd >= 0); CU_ASSERT(read(fd, &test_result, sizeof(char)) == 1); + close(fd); CU_ASSERT_FATAL(test_result == TEST_SUCCESS); CU_ASSERT(odp_shm_free(shm) == 0);
Fix for bug 2147, CID 159394: The fifo is closed at end of test Signed-off-by: Christophe Milard <christophe.milard@linaro.org> --- platform/linux-generic/test/shmem/shmem_odp.c | 1 + 1 file changed, 1 insertion(+)