diff options
Diffstat (limited to 'src/transport/test_transport_api_blacklisting.c')
-rw-r--r-- | src/transport/test_transport_api_blacklisting.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/transport/test_transport_api_blacklisting.c b/src/transport/test_transport_api_blacklisting.c index 909ea57d4..55adb5b10 100644 --- a/src/transport/test_transport_api_blacklisting.c +++ b/src/transport/test_transport_api_blacklisting.c | |||
@@ -25,22 +25,9 @@ | |||
25 | * | 25 | * |
26 | */ | 26 | */ |
27 | #include "platform.h" | 27 | #include "platform.h" |
28 | #include "gnunet_common.h" | ||
29 | #include "gnunet_hello_lib.h" | ||
30 | #include "gnunet_getopt_lib.h" | ||
31 | #include "gnunet_os_lib.h" | ||
32 | #include "gnunet_program_lib.h" | ||
33 | #include "gnunet_scheduler_lib.h" | ||
34 | #include "gnunet_transport_service.h" | 28 | #include "gnunet_transport_service.h" |
35 | #include "transport.h" | ||
36 | #include "transport-testing.h" | 29 | #include "transport-testing.h" |
37 | 30 | ||
38 | #define VERBOSE GNUNET_NO | ||
39 | #define VERBOSE_ARM GNUNET_NO | ||
40 | |||
41 | #define START_ARM GNUNET_YES | ||
42 | |||
43 | |||
44 | struct PeerContext *p1; | 31 | struct PeerContext *p1; |
45 | 32 | ||
46 | struct PeerContext *p2; | 33 | struct PeerContext *p2; |
@@ -435,19 +422,12 @@ check () | |||
435 | static char *const argv[] = { "test-transport-api-blacklisting", | 422 | static char *const argv[] = { "test-transport-api-blacklisting", |
436 | "-c", | 423 | "-c", |
437 | "test_transport_api_data.conf", | 424 | "test_transport_api_data.conf", |
438 | #if VERBOSE | ||
439 | "-L", "DEBUG", | ||
440 | #endif | ||
441 | NULL | 425 | NULL |
442 | }; | 426 | }; |
443 | static struct GNUNET_GETOPT_CommandLineOption options[] = { | 427 | static struct GNUNET_GETOPT_CommandLineOption options[] = { |
444 | GNUNET_GETOPT_OPTION_END | 428 | GNUNET_GETOPT_OPTION_END |
445 | }; | 429 | }; |
446 | 430 | ||
447 | #if WRITECONFIG | ||
448 | setTransportOptions ("test_transport_api_data.conf"); | ||
449 | #endif | ||
450 | |||
451 | ok = 1; | 431 | ok = 1; |
452 | GNUNET_PROGRAM_run ((sizeof (argv) / sizeof (char *)) - 1, argv, "test-transport-api-blacklisting", | 432 | GNUNET_PROGRAM_run ((sizeof (argv) / sizeof (char *)) - 1, argv, "test-transport-api-blacklisting", |
453 | "nohelp", options, &run, &ok); | 433 | "nohelp", options, &run, &ok); |
@@ -461,11 +441,7 @@ main (int argc, char *argv[]) | |||
461 | int ret; | 441 | int ret; |
462 | 442 | ||
463 | GNUNET_log_setup ("test-transport-api-blacklisting", | 443 | GNUNET_log_setup ("test-transport-api-blacklisting", |
464 | #if VERBOSE | ||
465 | "DEBUG", | ||
466 | #else | ||
467 | "WARNING", | 444 | "WARNING", |
468 | #endif | ||
469 | NULL); | 445 | NULL); |
470 | 446 | ||
471 | tth = GNUNET_TRANSPORT_TESTING_init (); | 447 | tth = GNUNET_TRANSPORT_TESTING_init (); |