X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=test%2Fblackbox%2Frun_blackbox_tests%2Ftest_cases_set_port.c;h=e514e57f11328d4cf82bc0b96768a47547c40703;hb=fe5563f92021618b4a8b41e412c73d8364fcaf6e;hp=b01bc6d87a95945a48867251e430c84b8d4c30b7;hpb=cdb3dada645394bb1e0d0bf7816291fbd9a2a4a0;p=meshlink diff --git a/test/blackbox/run_blackbox_tests/test_cases_set_port.c b/test/blackbox/run_blackbox_tests/test_cases_set_port.c index b01bc6d8..e514e57f 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_set_port.c +++ b/test/blackbox/run_blackbox_tests/test_cases_set_port.c @@ -17,6 +17,10 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef NDEBUG +#undef NDEBUG +#endif + #include "execute_tests.h" #include "test_cases_destroy.h" #include "../common/containers.h" @@ -91,7 +95,7 @@ static bool test_set_port_01(void) { // Clean up meshlink_close(mesh_handle); - meshlink_destroy("setportconf"); + assert(meshlink_destroy("setportconf")); return true; } @@ -149,7 +153,7 @@ static bool test_set_port_03(void) { // Clean up meshlink_close(mesh_handle); - meshlink_destroy("getportconf"); + assert(meshlink_destroy("getportconf")); return false; }