aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_unreliability_constant.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/test_transport_api_unreliability_constant.c')
-rw-r--r--src/transport/test_transport_api_unreliability_constant.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/transport/test_transport_api_unreliability_constant.c b/src/transport/test_transport_api_unreliability_constant.c
index fb72b0f1c..cb24675c1 100644
--- a/src/transport/test_transport_api_unreliability_constant.c
+++ b/src/transport/test_transport_api_unreliability_constant.c
@@ -27,24 +27,10 @@
27 * achieve reliable message delivery. 27 * achieve reliable message delivery.
28 */ 28 */
29#include "platform.h" 29#include "platform.h"
30#include "gnunet_common.h"
31#include "gnunet_hello_lib.h"
32#include "gnunet_getopt_lib.h"
33#include "gnunet_os_lib.h"
34#include "gnunet_program_lib.h"
35#include "gnunet_scheduler_lib.h"
36#include "gnunet_server_lib.h"
37#include "gnunet_transport_service.h" 30#include "gnunet_transport_service.h"
38#include "gauger.h" 31#include "gauger.h"
39#include "transport.h"
40#include "transport-testing.h" 32#include "transport-testing.h"
41 33
42#define VERBOSE GNUNET_NO
43
44#define VERBOSE_ARM GNUNET_NO
45
46#define START_ARM GNUNET_YES
47
48/** 34/**
49 * Testcase timeout 35 * Testcase timeout
50 */ 36 */
@@ -464,18 +450,12 @@ check ()
464 static char *const argv[] = { "test-transport-api-unreliability-constant", 450 static char *const argv[] = { "test-transport-api-unreliability-constant",
465 "-c", 451 "-c",
466 "test_transport_api_data.conf", 452 "test_transport_api_data.conf",
467#if VERBOSE
468 "-L", "DEBUG",
469#endif
470 NULL 453 NULL
471 }; 454 };
472 static struct GNUNET_GETOPT_CommandLineOption options[] = { 455 static struct GNUNET_GETOPT_CommandLineOption options[] = {
473 GNUNET_GETOPT_OPTION_END 456 GNUNET_GETOPT_OPTION_END
474 }; 457 };
475 458
476#if WRITECONFIG
477 setTransportOptions ("test_transport_api_data.conf");
478#endif
479 ok = GNUNET_SYSERR; 459 ok = GNUNET_SYSERR;
480 460
481 GNUNET_PROGRAM_run ((sizeof (argv) / sizeof (char *)) - 1, argv, test_name, 461 GNUNET_PROGRAM_run ((sizeof (argv) / sizeof (char *)) - 1, argv, test_name,
@@ -492,11 +472,7 @@ main (int argc, char *argv[])
492 GNUNET_TRANSPORT_TESTING_get_test_name (argv[0], &test_name); 472 GNUNET_TRANSPORT_TESTING_get_test_name (argv[0], &test_name);
493 473
494 GNUNET_log_setup (test_name, 474 GNUNET_log_setup (test_name,
495#if VERBOSE
496 "DEBUG",
497#else
498 "WARNING", 475 "WARNING",
499#endif
500 NULL); 476 NULL);
501 477
502 GNUNET_TRANSPORT_TESTING_get_test_source_name (__FILE__, &test_source); 478 GNUNET_TRANSPORT_TESTING_get_test_source_name (__FILE__, &test_source);