X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Funit%2Ftest_utils_compat_poll.c;fp=tests%2Funit%2Ftest_utils_compat_poll.c;h=2581f57dda1480bb04bc16238049b9f2750c3dd4;hp=0cb7b23872908e2b0305db0144a26d75f9159464;hb=a0377dfefe40662ba7d68617bce6ff467114136c;hpb=cc3b9644f017a91d347d7a414387292e3175635e diff --git a/tests/unit/test_utils_compat_poll.c b/tests/unit/test_utils_compat_poll.c index 0cb7b2387..2581f57dd 100644 --- a/tests/unit/test_utils_compat_poll.c +++ b/tests/unit/test_utils_compat_poll.c @@ -9,7 +9,6 @@ * */ -#include #include #include #include @@ -280,7 +279,7 @@ static void test_active_set_combinations(unsigned int fd_count) unsigned int i, all_active_mask = 0; /* Do you really want to test more than 4,294,967,295 combinations? */ - assert(fd_count <= 32); + LTTNG_ASSERT(fd_count <= 32); for (i = 0; i < fd_count; i++) { all_active_mask |= (1 << i);