aboutsummaryrefslogtreecommitdiff
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.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/transport/test_transport_plugin_cmd_simple_send.c b/src/transport/test_transport_plugin_cmd_simple_send.c
index 8889f9d06..f0b47084b 100644
--- a/src/transport/test_transport_plugin_cmd_simple_send.c
+++ b/src/transport/test_transport_plugin_cmd_simple_send.c
@@ -37,6 +37,7 @@
37 37
38#define BASE_DIR "testdir" 38#define BASE_DIR "testdir"
39 39
40#define TOPOLOGY_CONFIG "test_transport_simple_send_topo.conf"
40 41
41struct TestState 42struct TestState
42{ 43{
@@ -154,8 +155,8 @@ notify_connect (void *cls,
154{ 155{
155 struct ConnectPeersState *cps; 156 struct ConnectPeersState *cps;
156 157
157 GNUNET_TESTING_get_trait_connect_peer_state (&connect_peers, 158 GNUNET_TRANSPORT_get_trait_connect_peer_state (&connect_peers,
158 &cps); 159 &cps);
159 void *ret = NULL; 160 void *ret = NULL;
160 161
161 cps->notify_connect (cps, 162 cps->notify_connect (cps,
@@ -203,7 +204,7 @@ start_testcase (TESTING_CMD_HELPER_write_cb write_message, char *router_ip,
203 "start-peer", 204 "start-peer",
204 "system-create", 205 "system-create",
205 num, 206 num,
206 NULL); 207 topology);
207 208
208 209
209 210
@@ -257,7 +258,8 @@ start_testcase (TESTING_CMD_HELPER_write_cb write_message, char *router_ip,
257 GNUNET_TRANSPORT_cmd_stop_peer ("stop-peer", 258 GNUNET_TRANSPORT_cmd_stop_peer ("stop-peer",
258 "start-peer"), 259 "start-peer"),
259 GNUNET_TESTING_cmd_system_destroy ("system-destroy", 260 GNUNET_TESTING_cmd_system_destroy ("system-destroy",
260 "system-create") 261 "system-create"),
262 GNUNET_TESTING_cmd_end ()
261 }; 263 };
262 264
263 GNUNET_TESTING_run (commands, 265 GNUNET_TESTING_run (commands,