X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=test%2Fblackbox%2Frun_blackbox_tests%2Ftest_cases_export.c;h=0281f0b5a95b48f0bac0f7509b58a10bbee37284;hb=fe5563f92021618b4a8b41e412c73d8364fcaf6e;hp=db94a0024ddf4c604694885255858338c52827ec;hpb=f1da50294494310d7a299c29af5649d4415bd38a;p=meshlink 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; }