diff options
Diffstat (limited to 'src/transport/test_transport_api_unreliability_constant.c')
-rw-r--r-- | src/transport/test_transport_api_unreliability_constant.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/transport/test_transport_api_unreliability_constant.c b/src/transport/test_transport_api_unreliability_constant.c index 3ce256017..feca0c8b7 100644 --- a/src/transport/test_transport_api_unreliability_constant.c +++ b/src/transport/test_transport_api_unreliability_constant.c | |||
@@ -487,11 +487,6 @@ main (int argc, char *argv[]) | |||
487 | int ret; | 487 | int ret; |
488 | int nat_res; | 488 | int nat_res; |
489 | 489 | ||
490 | tth = GNUNET_TRANSPORT_TESTING_init (); | ||
491 | |||
492 | GNUNET_TRANSPORT_TESTING_get_test_source_name (__FILE__, &test_source); | ||
493 | GNUNET_TRANSPORT_TESTING_get_test_plugin_name (argv[0], test_source, | ||
494 | &test_plugin); | ||
495 | GNUNET_TRANSPORT_TESTING_get_test_name (argv[0], &test_name); | 490 | GNUNET_TRANSPORT_TESTING_get_test_name (argv[0], &test_name); |
496 | 491 | ||
497 | GNUNET_log_setup (test_name, | 492 | GNUNET_log_setup (test_name, |
@@ -502,6 +497,12 @@ main (int argc, char *argv[]) | |||
502 | #endif | 497 | #endif |
503 | NULL); | 498 | NULL); |
504 | 499 | ||
500 | GNUNET_TRANSPORT_TESTING_get_test_source_name (__FILE__, &test_source); | ||
501 | GNUNET_TRANSPORT_TESTING_get_test_plugin_name (argv[0], test_source, | ||
502 | &test_plugin); | ||
503 | |||
504 | tth = GNUNET_TRANSPORT_TESTING_init (); | ||
505 | |||
505 | if ((strcmp (test_plugin, "tcp_nat") == 0) || | 506 | if ((strcmp (test_plugin, "tcp_nat") == 0) || |
506 | (strcmp (test_plugin, "udp_nat") == 0)) | 507 | (strcmp (test_plugin, "udp_nat") == 0)) |
507 | { | 508 | { |