X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=test%2Fblackbox%2Frun_blackbox_tests%2Ftest_cases_export.c;h=0281f0b5a95b48f0bac0f7509b58a10bbee37284;hp=db94a0024ddf4c604694885255858338c52827ec;hb=fe5563f92021618b4a8b41e412c73d8364fcaf6e;hpb=6c897377f68fc23ca9a8b23a6ca204517998b2e9 diff --git a/test/blackbox/run_blackbox_tests/test_cases_export.c b/test/blackbox/run_blackbox_tests/test_cases_export.c index db94a002..0281f0b5 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_export.c +++ b/test/blackbox/run_blackbox_tests/test_cases_export.c @@ -65,7 +65,7 @@ static void test_case_export_01(void **state) { API returns a NULL terminated string containing meta data of NUT. */ static bool test_export_01(void) { - meshlink_destroy("exportconf"); + assert(meshlink_destroy("exportconf")); meshlink_set_log_cb(NULL, TEST_MESHLINK_LOG_LEVEL, meshlink_callback_logger); /* Create meshlink instance */ @@ -77,7 +77,7 @@ static bool test_export_01(void) { assert_int_not_equal(expo, NULL); meshlink_close(mesh_handle); - meshlink_destroy("exportconf"); + assert(meshlink_destroy("exportconf")); return true; }