From dc6be97bccd86cfbd64586a5fd9faefb673b70a6 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Thu, 20 Jun 2019 22:00:34 +0200 Subject: lib: Add tests for the shm_rbuff This adds some tests for the shm_rbuff after some reports that the queue length would be erroneously reported as 0 when the rbuff was full. The test passes for the reported case. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/lib/tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/tests/CMakeLists.txt') diff --git a/src/lib/tests/CMakeLists.txt b/src/lib/tests/CMakeLists.txt index cc51c203..c887626a 100644 --- a/src/lib/tests/CMakeLists.txt +++ b/src/lib/tests/CMakeLists.txt @@ -9,6 +9,7 @@ create_test_sourcelist(${PARENT_DIR}_tests test_suite.c hashtable_test.c md5_test.c sha3_test.c + shm_rbuff_test.c time_utils_test.c ) -- cgit v1.2.3