X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;ds=sidebyside;f=test%2Fblackbox%2Frun_blackbox_tests%2Ftest_optimal_pmtu.c;h=1d7408957ef90a20c052170c54fd4eef3377ac27;hb=fe5563f92021618b4a8b41e412c73d8364fcaf6e;hp=d7463e761e36c139bd03ecf48e6d892d720a2a97;hpb=6c897377f68fc23ca9a8b23a6ca204517998b2e9;p=meshlink diff --git a/test/blackbox/run_blackbox_tests/test_optimal_pmtu.c b/test/blackbox/run_blackbox_tests/test_optimal_pmtu.c index d7463e76..1d740895 100644 --- a/test/blackbox/run_blackbox_tests/test_optimal_pmtu.c +++ b/test/blackbox/run_blackbox_tests/test_optimal_pmtu.c @@ -77,9 +77,9 @@ static int setup_test(void **state) { ping_channel_enable_07 = false; memset(node_pmtu, 0, sizeof(node_pmtu)); set_sync_flag(&test_pmtu_nut_closed, false); - meshlink_destroy("nut"); - meshlink_destroy("peer"); - meshlink_destroy("relay"); + assert(meshlink_destroy("nut")); + assert(meshlink_destroy("peer")); + assert(meshlink_destroy("relay")); return EXIT_SUCCESS; } @@ -87,9 +87,9 @@ static int setup_test(void **state) { static int teardown_test(void **state) { (void)state; - meshlink_destroy("nut"); - meshlink_destroy("peer"); - meshlink_destroy("relay"); + assert(meshlink_destroy("nut")); + assert(meshlink_destroy("peer")); + assert(meshlink_destroy("relay")); netns_destroy_topology(test_pmtu_state); return EXIT_SUCCESS;