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 "execute_tests.h"
#include "../common/containers.h"
#include "../common/test_step.h"
static bool test_steps_set_channel_accept_cb_01(void) {
/* deleting the confbase if already exists */
struct timespec timeout = {0};
- meshlink_destroy("acceptconf1");
- meshlink_destroy("acceptconf2");
+ assert(meshlink_destroy("acceptconf1"));
+ assert(meshlink_destroy("acceptconf2"));
meshlink_set_log_cb(NULL, TEST_MESHLINK_LOG_LEVEL, meshlink_callback_logger);
/* Create meshlink instances */
/* closing channel, meshes and destroying confbase */
meshlink_close(mesh1);
meshlink_close(mesh2);
- meshlink_destroy("acceptconf1");
- meshlink_destroy("acceptconf2");
+ assert(meshlink_destroy("acceptconf1"));
+ assert(meshlink_destroy("acceptconf2"));
return true;
}