X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;ds=sidebyside;f=test%2Fblackbox%2Ftest_case_optimal_pmtu_01%2Fnode_sim_relay.c;h=7823f4b9d9c362bd7bf59828686e3cc6f8e0e9ce;hb=5f2e8877486869471041b0eca1aaed841c41a1a9;hp=d733b2b0f860414d3e7af98867f7ef523bb3596b;hpb=a65fbef9ae9c314940e8977d10bdd761cc52b0ad;p=meshlink diff --git a/test/blackbox/test_case_optimal_pmtu_01/node_sim_relay.c b/test/blackbox/test_case_optimal_pmtu_01/node_sim_relay.c index d733b2b0..7823f4b9 100644 --- a/test/blackbox/test_case_optimal_pmtu_01/node_sim_relay.c +++ b/test/blackbox/test_case_optimal_pmtu_01/node_sim_relay.c @@ -16,6 +16,11 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include @@ -45,7 +50,7 @@ void *node_sim_pmtu_relay_01(void *arg) { //meshlink_set_log_cb(mesh, MESHLINK_DEBUG, meshlink_callback_logger); meshlink_enable_discovery(mesh, false); - meshlink_start(mesh); + assert(meshlink_start(mesh)); //send_event(NODE_STARTED); /* All test steps executed - wait for signals to stop/start or close the mesh */