X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fnotification%2Fconsumer_testpoints.c;fp=tests%2Fregression%2Ftools%2Fnotification%2Fconsumer_testpoints.c;h=c4fc0a0572f3d688b6b557118e30b25545a2d3ce;hp=0d1edc5f96a54ce0b12bbc483c8e8ac22d16e51e;hb=a0377dfefe40662ba7d68617bce6ff467114136c;hpb=cc3b9644f017a91d347d7a414387292e3175635e diff --git a/tests/regression/tools/notification/consumer_testpoints.c b/tests/regression/tools/notification/consumer_testpoints.c index 0d1edc5f9..c4fc0a057 100644 --- a/tests/regression/tools/notification/consumer_testpoints.c +++ b/tests/regression/tools/notification/consumer_testpoints.c @@ -14,7 +14,6 @@ #include #include #include -#include #include static char *pause_pipe_path; @@ -67,9 +66,9 @@ int __testpoint_consumerd_thread_data(void) * when launching the session daemon. */ data_consumption_state = dlsym(NULL, "data_consumption_paused"); - assert(data_consumption_state); + LTTNG_ASSERT(data_consumption_state); lttng_consumer_get_type = dlsym(NULL, "lttng_consumer_get_type"); - assert(lttng_consumer_get_type); + LTTNG_ASSERT(lttng_consumer_get_type); switch (lttng_consumer_get_type()) { case LTTNG_CONSUMER_KERNEL: