X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=test%2Fblackbox%2Frun_blackbox_tests%2Ftest_cases_hint_address.c;h=61be45188595ff63b9e51ad29ce33239c626ab9e;hp=d79c48897160c2cd16b2369f6af842bfe72cf76a;hb=fe5563f92021618b4a8b41e412c73d8364fcaf6e;hpb=6c897377f68fc23ca9a8b23a6ca204517998b2e9 diff --git a/test/blackbox/run_blackbox_tests/test_cases_hint_address.c b/test/blackbox/run_blackbox_tests/test_cases_hint_address.c index d79c4889..61be4518 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_hint_address.c +++ b/test/blackbox/run_blackbox_tests/test_cases_hint_address.c @@ -65,8 +65,8 @@ void test_case_hint_address_01(void **state) { } /* Test Steps for meshlink_hint_address Test Case # 1 - Valid case */ bool test_steps_hint_address_01(void) { - meshlink_destroy("hintconf1"); - meshlink_destroy("hintconf2"); + assert(meshlink_destroy("hintconf1")); + assert(meshlink_destroy("hintconf2")); meshlink_set_log_cb(NULL, TEST_MESHLINK_LOG_LEVEL, meshlink_callback_logger); // Create meshlink instance for the nodes @@ -123,8 +123,8 @@ bool test_steps_hint_address_01(void) { free(buff); meshlink_close(mesh1); meshlink_close(mesh2); - meshlink_destroy("hintconf1"); - meshlink_destroy("hintconf2"); + assert(meshlink_destroy("hintconf1")); + assert(meshlink_destroy("hintconf2")); return true; }