summaryrefslogtreecommitdiff
path: root/src/transport/test_transport_plugin_cmd_simple_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/test_transport_plugin_cmd_simple_send.c')
-rw-r--r--src/transport/test_transport_plugin_cmd_simple_send.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/transport/test_transport_plugin_cmd_simple_send.c b/src/transport/test_transport_plugin_cmd_simple_send.c
index 4b5018b60..1dc44c945 100644
--- a/src/transport/test_transport_plugin_cmd_simple_send.c
+++ b/src/transport/test_transport_plugin_cmd_simple_send.c
@@ -144,7 +144,7 @@ start_testcase (TESTING_CMD_HELPER_write_cb write_message, char *router_ip,
GNUNET_asprintf (&cfgname,
"test_transport_api2_tcp_node%s.conf",
- n);
+ "1");
LOG (GNUNET_ERROR_TYPE_ERROR,
"plugin cfgname: %s\n",
@@ -154,6 +154,11 @@ start_testcase (TESTING_CMD_HELPER_write_cb write_message, char *router_ip,
"node ip: %s\n",
node_ip);
+ LOG (GNUNET_ERROR_TYPE_ERROR,
+ "m: %s n: %s\n",
+ m,
+ n);
+
GNUNET_asprintf (&testdir,
"%s%s%s",
BASE_DIR,
@@ -180,6 +185,7 @@ start_testcase (TESTING_CMD_HELPER_write_cb write_message, char *router_ip,
m,
n,
local_m,
+ node_ip,
handlers,
cfgname),
GNUNET_TESTING_cmd_send_peer_ready ("send-peer-ready",
@@ -187,7 +193,10 @@ start_testcase (TESTING_CMD_HELPER_write_cb write_message, char *router_ip,
GNUNET_TESTING_cmd_block_until_all_peers_started ("block",
&are_all_peers_started),
GNUNET_TRANSPORT_cmd_connect_peers ("connect-peers",
- "start-peer"),
+ "start-peer",
+ "system-create",
+ (atoi (n) - 1) * atoi (local_m) + atoi (
+ m)),
GNUNET_TRANSPORT_cmd_send_simple ("send-simple",
m,
n,