X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2Futils%2Ftap%2Ftap.c;fp=tests%2Futils%2Ftap%2Ftap.c;h=d3d3f3df8a4db955eea39d225f4c9c7ed13a800a;hp=4d09a58a5e8c2e39835d14dba24a83d249da7ed5;hb=25583cd07e351a64d645978905be94227355f0e5;hpb=2dd764c1b4c758c8843e4e06e56012661b656166 diff --git a/tests/utils/tap/tap.c b/tests/utils/tap/tap.c index 4d09a58a..d3d3f3df 100644 --- a/tests/utils/tap/tap.c +++ b/tests/utils/tap/tap.c @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include @@ -304,7 +304,7 @@ diag_multiline(const char *val) { size_t len, i, line_start_idx = 0; - assert(val); + BT_ASSERT(val); len = strlen(val); for (i = 0; i < len; i++) { @@ -314,7 +314,7 @@ diag_multiline(const char *val) continue; } - assert((i - line_start_idx + 1) <= INT_MAX); + BT_ASSERT((i - line_start_idx + 1) <= INT_MAX); line_length = i - line_start_idx + 1; fprintf(stderr, "# %.*s", line_length, &val[line_start_idx]); line_start_idx = i + 1;