X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=test%2Fblackbox%2Frun_blackbox_tests%2Ftest_cases_open.c;h=40bd26c70103cd974a386b3c4531525289c55dc0;hp=cdfba7b09742f92df211fec1e18bcae23f170b6f;hb=fe5563f92021618b4a8b41e412c73d8364fcaf6e;hpb=6c897377f68fc23ca9a8b23a6ca204517998b2e9 diff --git a/test/blackbox/run_blackbox_tests/test_cases_open.c b/test/blackbox/run_blackbox_tests/test_cases_open.c index cdfba7b0..40bd26c7 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_open.c +++ b/test/blackbox/run_blackbox_tests/test_cases_open.c @@ -91,7 +91,7 @@ static bool test_steps_mesh_open_01(void) { assert_int_not_equal(mesh, NULL); meshlink_close(mesh); - meshlink_destroy("open_conf"); + assert(meshlink_destroy("open_conf")); return true; } @@ -134,7 +134,7 @@ static bool test_steps_mesh_open_03(void) { meshlink_handle_t *mesh = meshlink_open("openconf", NULL, "test", DEV_CLASS_STATIONARY); assert_int_equal(mesh, NULL); - meshlink_destroy("open_conf"); + assert(meshlink_destroy("open_conf")); return true; } @@ -156,7 +156,7 @@ static bool test_steps_mesh_open_04(void) { meshlink_handle_t *mesh = meshlink_open("openconf", "foo", NULL, DEV_CLASS_STATIONARY); assert_int_equal(mesh, NULL); - meshlink_destroy("open_conf"); + assert(meshlink_destroy("open_conf")); return true; } @@ -178,7 +178,7 @@ static bool test_steps_mesh_open_05(void) { meshlink_handle_t *mesh = meshlink_open("openconf", "foo", "test", -1); assert_int_equal(mesh, NULL); - meshlink_destroy("open_conf"); + assert(meshlink_destroy("open_conf")); return true; }