X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Funit%2Ftest_ust_data.c;h=82d15b66d21ff6e34e20538c0b4e45723ad0d3d2;hb=04241979012ecdd868f73c992ed4a075798af5c2;hp=4d1762f5453086acf5e83e9cc93dcca2cd8bf1e3;hpb=ca03b51d1aa3e7eb3fd4a5fd03cf5ac1bdbd6d67;p=lttng-tools.git diff --git a/tests/unit/test_ust_data.c b/tests/unit/test_ust_data.c index 4d1762f54..82d15b66d 100644 --- a/tests/unit/test_ust_data.c +++ b/tests/unit/test_ust_data.c @@ -168,7 +168,7 @@ static void test_create_ust_event_exclusion(void) ok(exclusion != NULL, "Create UST exclusion"); if (!exclusion) { PERROR("zmalloc"); - return; + abort(); } exclusion->count = exclusion_count; @@ -188,7 +188,7 @@ static void test_create_ust_event_exclusion(void) ok(exclusion != NULL, "Create UST exclusion"); if (!exclusion) { PERROR("zmalloc"); - return; + abort(); } exclusion->count = exclusion_count;