- assert(size2 == 2);
- assert(uri2[0].dtype == LTTNG_DST_IPV4);
- assert(uri2[0].utype == LTTNG_URI_DST);
- assert(uri2[0].stype == 0);
- assert(uri2[0].port == 8989);
- assert(strlen(uri2[1].subdir) == 0);
- assert(strcmp(uri2[0].dst.ipv4, "127.0.0.1") == 0);
- assert(uri2[1].dtype == LTTNG_DST_IPV4);
- assert(uri2[1].utype == LTTNG_URI_DST);
- assert(uri2[1].stype == 0);
- assert(uri2[1].port == 4242);
- assert(strlen(uri2[1].subdir) == 0);
- assert(strcmp(uri2[1].dst.ipv4, "127.0.0.1") == 0);
+ LTTNG_ASSERT(size2 == 2);
+ LTTNG_ASSERT(uri2[0].dtype == LTTNG_DST_IPV4);
+ LTTNG_ASSERT(uri2[0].utype == LTTNG_URI_DST);
+ LTTNG_ASSERT(uri2[0].stype == 0);
+ LTTNG_ASSERT(uri2[0].port == 8989);
+ LTTNG_ASSERT(strlen(uri2[0].subdir) == 0);
+ LTTNG_ASSERT(strcmp(uri2[0].dst.ipv4, "127.0.0.1") == 0);
+ LTTNG_ASSERT(uri2[1].dtype == LTTNG_DST_IPV4);
+ LTTNG_ASSERT(uri2[1].utype == LTTNG_URI_DST);
+ LTTNG_ASSERT(uri2[1].stype == 0);
+ LTTNG_ASSERT(uri2[1].port == 4242);
+ LTTNG_ASSERT(strlen(uri2[1].subdir) == 0);
+ LTTNG_ASSERT(strcmp(uri2[1].dst.ipv4, "127.0.0.1") == 0);