X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=test%2Fblackbox%2Frun_blackbox_tests%2Ftest_cases_random_port_bindings01.c;h=5cce98c0b4e805b296b8b70132b331efe64d9081;hp=45d86ed23fe59951b4cc13563c7be453e77214bb;hb=fe5563f92021618b4a8b41e412c73d8364fcaf6e;hpb=6c897377f68fc23ca9a8b23a6ca204517998b2e9 diff --git a/test/blackbox/run_blackbox_tests/test_cases_random_port_bindings01.c b/test/blackbox/run_blackbox_tests/test_cases_random_port_bindings01.c index 45d86ed2..5cce98c0 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_random_port_bindings01.c +++ b/test/blackbox/run_blackbox_tests/test_cases_random_port_bindings01.c @@ -143,7 +143,7 @@ void test_case_mesh_random_port_bindings_01(void **state) { */ bool test_steps_mesh_random_port_bindings_01(void) { meshlink_handle_t *relay = NULL; - meshlink_destroy("relay_conf"); + assert(meshlink_destroy("relay_conf")); meshlink_set_log_cb(NULL, MESHLINK_DEBUG, log_message); @@ -171,7 +171,7 @@ bool test_steps_mesh_random_port_bindings_01(void) { ipv6_fd = -1; meshlink_close(relay); - meshlink_destroy("relay_conf"); + assert(meshlink_destroy("relay_conf")); return true; } @@ -193,7 +193,7 @@ void test_case_mesh_random_port_bindings_02(void **state) { */ bool test_steps_mesh_random_port_bindings_02(void) { meshlink_handle_t *relay = NULL; - meshlink_destroy("relay_conf"); + assert(meshlink_destroy("relay_conf")); meshlink_set_log_cb(NULL, MESHLINK_DEBUG, log_message); @@ -220,7 +220,7 @@ bool test_steps_mesh_random_port_bindings_02(void) { ipv6_fd = -1; meshlink_close(relay); - meshlink_destroy("relay_conf"); + assert(meshlink_destroy("relay_conf")); return true; } @@ -244,7 +244,7 @@ void test_case_mesh_random_port_bindings_03(void **state) { bool test_steps_mesh_random_port_bindings_03(void) { int port, new_port; meshlink_handle_t *relay = NULL; - meshlink_destroy("relay_conf"); + assert(meshlink_destroy("relay_conf")); meshlink_set_log_cb(NULL, MESHLINK_DEBUG, log_message); @@ -282,7 +282,7 @@ bool test_steps_mesh_random_port_bindings_03(void) { ipv6_fd = -1; meshlink_close(relay); - meshlink_destroy("relay_conf"); + assert(meshlink_destroy("relay_conf")); return true; }