X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=test%2Fblackbox%2Frun_blackbox_tests%2Ftest_cases_pmtu.c;h=58675964e3df93ecd9989e0e3f9130ef9bd22e35;hb=fe5563f92021618b4a8b41e412c73d8364fcaf6e;hp=0a037d8cc6354559dd9ced6cfa86c975e589675e;hpb=dc68da94af8fca91748579c84ef5ed798db7efab;p=meshlink diff --git a/test/blackbox/run_blackbox_tests/test_cases_pmtu.c b/test/blackbox/run_blackbox_tests/test_cases_pmtu.c index 0a037d8c..58675964 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_pmtu.c +++ b/test/blackbox/run_blackbox_tests/test_cases_pmtu.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_pmtu.h" #include "../common/containers.h" @@ -77,7 +81,7 @@ static bool test_steps_mesh_pmtu_01(void) { assert_int_not_equal(pmtu, -1); meshlink_close(mesh); - meshlink_destroy("pmtu_conf"); + assert(meshlink_destroy("pmtu_conf")); return true; } @@ -107,7 +111,7 @@ static bool test_steps_mesh_pmtu_02(void) { assert_int_equal(pmtu, -1); meshlink_close(mesh); - meshlink_destroy("pmtu_conf"); + assert(meshlink_destroy("pmtu_conf")); return true; } @@ -135,7 +139,7 @@ static bool test_steps_mesh_pmtu_03(void) { assert_int_equal(pmtu, -1); meshlink_close(mesh); - meshlink_destroy("pmtu_conf"); + assert(meshlink_destroy("pmtu_conf")); return true; }