assert_int_not_equal(mesh, NULL);
meshlink_close(mesh);
- meshlink_destroy("open_conf");
+ assert(meshlink_destroy("open_conf"));
return true;
}
meshlink_handle_t *mesh = meshlink_open("openconf", NULL, "test", DEV_CLASS_STATIONARY);
assert_int_equal(mesh, NULL);
- meshlink_destroy("open_conf");
+ assert(meshlink_destroy("open_conf"));
return true;
}
meshlink_handle_t *mesh = meshlink_open("openconf", "foo", NULL, DEV_CLASS_STATIONARY);
assert_int_equal(mesh, NULL);
- meshlink_destroy("open_conf");
+ assert(meshlink_destroy("open_conf"));
return true;
}
meshlink_handle_t *mesh = meshlink_open("openconf", "foo", "test", -1);
assert_int_equal(mesh, NULL);
- meshlink_destroy("open_conf");
+ assert(meshlink_destroy("open_conf"));
return true;
}