diff options
Diffstat (limited to 'src/transport/test_transport_api_disconnect.c')
-rw-r--r-- | src/transport/test_transport_api_disconnect.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/transport/test_transport_api_disconnect.c b/src/transport/test_transport_api_disconnect.c index 973c4cfbc..7a26c7eae 100644 --- a/src/transport/test_transport_api_disconnect.c +++ b/src/transport/test_transport_api_disconnect.c | |||
@@ -24,21 +24,9 @@ | |||
24 | * This test case tests disconnect notifications in peer shutdown | 24 | * This test case tests disconnect notifications in peer shutdown |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "gnunet_common.h" | ||
28 | #include "gnunet_hello_lib.h" | ||
29 | #include "gnunet_getopt_lib.h" | ||
30 | #include "gnunet_os_lib.h" | ||
31 | #include "gnunet_program_lib.h" | ||
32 | #include "gnunet_scheduler_lib.h" | ||
33 | #include "gnunet_transport_service.h" | 27 | #include "gnunet_transport_service.h" |
34 | #include "transport.h" | ||
35 | #include "transport-testing.h" | 28 | #include "transport-testing.h" |
36 | 29 | ||
37 | #define VERBOSE GNUNET_NO | ||
38 | #define VERBOSE_ARM GNUNET_NO | ||
39 | |||
40 | #define START_ARM GNUNET_YES | ||
41 | |||
42 | /** | 30 | /** |
43 | * How long until we give up on transmitting the message? | 31 | * How long until we give up on transmitting the message? |
44 | */ | 32 | */ |
@@ -374,18 +362,12 @@ check () | |||
374 | static char *const argv[] = { "test-transport-api", | 362 | static char *const argv[] = { "test-transport-api", |
375 | "-c", | 363 | "-c", |
376 | "test_transport_api_data.conf", | 364 | "test_transport_api_data.conf", |
377 | #if VERBOSE | ||
378 | "-L", "DEBUG", | ||
379 | #endif | ||
380 | NULL | 365 | NULL |
381 | }; | 366 | }; |
382 | static struct GNUNET_GETOPT_CommandLineOption options[] = { | 367 | static struct GNUNET_GETOPT_CommandLineOption options[] = { |
383 | GNUNET_GETOPT_OPTION_END | 368 | GNUNET_GETOPT_OPTION_END |
384 | }; | 369 | }; |
385 | 370 | ||
386 | #if WRITECONFIG | ||
387 | setTransportOptions ("test_transport_api_data.conf"); | ||
388 | #endif | ||
389 | send_task = GNUNET_SCHEDULER_NO_TASK; | 371 | send_task = GNUNET_SCHEDULER_NO_TASK; |
390 | 372 | ||
391 | ok = 1; | 373 | ok = 1; |
@@ -403,11 +385,7 @@ main (int argc, char *argv[]) | |||
403 | GNUNET_TRANSPORT_TESTING_get_test_name (argv[0], &test_name); | 385 | GNUNET_TRANSPORT_TESTING_get_test_name (argv[0], &test_name); |
404 | 386 | ||
405 | GNUNET_log_setup (test_name, | 387 | GNUNET_log_setup (test_name, |
406 | #if VERBOSE | ||
407 | "DEBUG", | ||
408 | #else | ||
409 | "WARNING", | 388 | "WARNING", |
410 | #endif | ||
411 | NULL); | 389 | NULL); |
412 | 390 | ||
413 | GNUNET_TRANSPORT_TESTING_get_test_source_name (__FILE__, &test_source); | 391 | GNUNET_TRANSPORT_TESTING_get_test_source_name (__FILE__, &test_source); |