]> git.meshlink.io Git - meshlink/blobdiff - test/channels-no-partial.c
Refactor the non-blackbox test suite.
[meshlink] / test / channels-no-partial.c
index 8216a5568bb9260f4b9e862fba3478732f82983b..d8a8bf1eb5262d1b3af29a63e6b3f677870b7294 100644 (file)
@@ -22,6 +22,8 @@ int main(int argc, char *argv[]) {
        (void)argc;
        (void)argv;
 
+       meshlink_set_log_cb(NULL, MESHLINK_DEBUG, log_cb);
+
        // Start two new meshlink instance.
 
        meshlink_handle_t *mesh_a;
@@ -69,7 +71,5 @@ int main(int argc, char *argv[]) {
 
        // Clean up.
 
-       close_meshlink_pair(mesh_a, mesh_b, "channels_no_partial");
-
-       return 0;
+       close_meshlink_pair(mesh_a, mesh_b);
 }