]> git.meshlink.io Git - meshlink/blobdiff - test/blackbox/run_blackbox_tests/run_blackbox_tests.c
Add test cases for the PMTU discovery mechanism.
[meshlink] / test / blackbox / run_blackbox_tests / run_blackbox_tests.c
index 691ac21534927231fbd75007d80cf1ba5ff094e3..0b706e1225e5a2f8c786ebfc6f206efa225c33ca 100644 (file)
@@ -62,6 +62,7 @@
 #include "test_cases_channel_set_poll_cb.h"
 #include "test_cases_channel_set_receive_cb.h"
 #include "test_cases_hint_address.h"
+#include "test_optimal_pmtu.h"
 
 #include "test_cases_channel_conn.h"
 
@@ -87,7 +88,7 @@ int main(int argc, char *argv[]) {
        failed_tests += test_meshlink_set_status_cb();
        failed_tests += test_meshlink_join();
        failed_tests += test_meshlink_set_channel_poll_cb();
-//  failed_tests += test_meshlink_channel_open_ex();
+       failed_tests += test_meshlink_channel_open_ex();
        failed_tests += test_meshlink_channel_get_flags();
        failed_tests += test_meshlink_set_channel_accept_cb();
        failed_tests += test_meshlink_destroy();
@@ -125,6 +126,8 @@ int main(int argc, char *argv[]) {
 
        failed_tests += test_meshlink_channel_conn();
 
+       failed_tests += test_optimal_pmtu();
+
        printf("[ PASSED ] %d test(s).\n", total_tests - failed_tests);
        printf("[ FAILED ] %d test(s).\n", failed_tests);