X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=test%2Fblackbox%2Frun_blackbox_tests%2Ftest_cases_get_fingerprint.c;h=3435f6eeaa5bf7ad2b52e7a4ad9eb4169df93641;hb=3febbb4;hp=1315ec5a20ab87ce4df452f188d0927ef82ac0a1;hpb=dc68da94af8fca91748579c84ef5ed798db7efab;p=meshlink diff --git a/test/blackbox/run_blackbox_tests/test_cases_get_fingerprint.c b/test/blackbox/run_blackbox_tests/test_cases_get_fingerprint.c index 1315ec5a..3435f6ee 100644 --- a/test/blackbox/run_blackbox_tests/test_cases_get_fingerprint.c +++ b/test/blackbox/run_blackbox_tests/test_cases_get_fingerprint.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.h" #include "../common/containers.h" @@ -81,7 +85,7 @@ static bool test_get_fingerprint_cb_01(void) { assert_int_not_equal(fp, NULL); meshlink_close(mesh_handle); - meshlink_destroy("getfingerprintconf"); + assert(meshlink_destroy("getfingerprintconf")); return true; } @@ -122,7 +126,7 @@ static bool test_get_fingerprint_cb_02(void) { assert_int_equal(fp, NULL); meshlink_close(mesh_handle); - meshlink_destroy("getfingerprintconf"); + assert(meshlink_destroy("getfingerprintconf")); return true; } @@ -154,7 +158,7 @@ static bool test_get_fingerprint_cb_03(void) { assert_int_equal(fp, NULL); meshlink_close(mesh_handle); - meshlink_destroy("getfingerprintconf"); + assert(meshlink_destroy("getfingerprintconf")); return true; }