aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_cmd_simple_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/test_transport_api_cmd_simple_send.c')
-rw-r--r--src/transport/test_transport_api_cmd_simple_send.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/transport/test_transport_api_cmd_simple_send.c b/src/transport/test_transport_api_cmd_simple_send.c
index 13497366e..27b9f95de 100644
--- a/src/transport/test_transport_api_cmd_simple_send.c
+++ b/src/transport/test_transport_api_cmd_simple_send.c
@@ -29,6 +29,10 @@
29 29
30#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 120) 30#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 120)
31 31
32/**
33 * Return value of the test.
34 *
35 */
32static unsigned int rv = 0; 36static unsigned int rv = 0;
33 37
34 38
@@ -42,19 +46,19 @@ static void
42run (void *cls) 46run (void *cls)
43{ 47{
44 struct GNUNET_TESTING_Command commands[] = { 48 struct GNUNET_TESTING_Command commands[] = {
45 GNUNET_TESTING_cmd_netjail_start ("netjail-start-1", 49 GNUNET_TESTING_cmd_netjail_start ("netjail-start",
46 "2", 50 "2",
47 "1"), 51 "1"),
48 GNUNET_TESTING_cmd_netjail_start_testing_system ("netjail-start-testbed-1", 52 GNUNET_TESTING_cmd_netjail_start_testing_system ("netjail-start-testbed ",
49 "2", 53 "2",
50 "1", 54 "1",
51 "libgnunet_test_transport_plugin_cmd_simple_send", 55 "libgnunet_test_transport_plugin_cmd_simple_send",
52 &rv), 56 &rv),
53 GNUNET_TESTING_cmd_stop_testing_system ("stop-testbed", 57 GNUNET_TESTING_cmd_stop_testing_system ("stop-testbed",
54 "netjail-start-testbed-1", 58 "netjail-start-testbed ",
55 "2", 59 "2",
56 "1"), 60 "1"),
57 GNUNET_TESTING_cmd_netjail_stop ("netjail-stop-1", 61 GNUNET_TESTING_cmd_netjail_stop ("netjail-stop ",
58 "2", 62 "2",
59 "1"), 63 "1"),
60 GNUNET_TESTING_cmd_end () 64 GNUNET_TESTING_cmd_end ()