tests: return the proper TAP exit code
[lttng-tools.git] / tests / regression / tools / notification / rotation.c
index fb516f31f7c4efeb0fa1954f5fceade8365dac12..dad2e4a1dd7a51d2ef6391765a17ba9a4a02664a 100644 (file)
@@ -79,7 +79,6 @@ int test_condition(struct lttng_condition *condition, const char *type_name)
        ok(out_session_name && !strcmp(session_name, out_session_name),
                        "Session name returned by %s condition matches the expected name",
                        type_name);
-end:
        return ret;
 }
 
@@ -425,5 +424,5 @@ int main(int argc, const char *argv[])
 error:
        lttng_notification_channel_destroy(notification_channel);
        lttng_rotation_handle_destroy(rotation_handle);
-       return ret;
+       return exit_status();
 }
This page took 0.023155 seconds and 4 git commands to generate.