summaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authort3sserakt <t3ss@posteo.de>2021-08-17 14:21:53 +0200
committert3sserakt <t3ss@posteo.de>2021-08-17 14:21:53 +0200
commit1e063cd73452396778cf00127346b9b08a922317 (patch)
treedc0c119ecf8511c5c56a469e580fee09800fc45a /src/transport
parent0f00c002810907f4edf740203bdf24d81124fd32 (diff)
- renamed methods and variables to prepare moving files from testbed to testing, to fix circular dependency problem
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/plugin_cmd_simple_send.c2
-rw-r--r--src/transport/test_transport_api_cmd_simple_send.c22
2 files changed, 12 insertions, 12 deletions
diff --git a/src/transport/plugin_cmd_simple_send.c b/src/transport/plugin_cmd_simple_send.c
index 2a4a8c137..468f4e48a 100644
--- a/src/transport/plugin_cmd_simple_send.c
+++ b/src/transport/plugin_cmd_simple_send.c
@@ -83,7 +83,7 @@ all_peers_started ()
}
static void
-start_testcase (TESTBED_CMD_HELPER_write_cb write_message, char *router_ip,
+start_testcase (TESTING_CMD_HELPER_write_cb write_message, char *router_ip,
char *node_ip,
char *m,
char *n,
diff --git a/src/transport/test_transport_api_cmd_simple_send.c b/src/transport/test_transport_api_cmd_simple_send.c
index 26da53c47..1cc16f307 100644
--- a/src/transport/test_transport_api_cmd_simple_send.c
+++ b/src/transport/test_transport_api_cmd_simple_send.c
@@ -43,19 +43,19 @@ static void
run (void *cls)
{
struct GNUNET_TESTING_Command commands[] = {
- GNUNET_TESTBED_cmd_netjail_start ("netjail-start-1",
+ GNUNET_TESTING_cmd_netjail_start ("netjail-start-1",
"2",
"1"),
- GNUNET_TESTBED_cmd_netjail_start_testbed ("netjail-start-testbed-1",
- "2",
- "1",
- "libgnunet_plugin_cmd_simple_send",
- &rv),
- GNUNET_TESTBED_cmd_stop_testbed ("stop-testbed",
- "netjail-start-testbed-1",
- "2",
- "1"),
- GNUNET_TESTBED_cmd_netjail_stop ("netjail-stop-1",
+ GNUNET_TESTING_cmd_netjail_start_testing_system ("netjail-start-testbed-1",
+ "2",
+ "1",
+ "libgnunet_plugin_cmd_simple_send",
+ &rv),
+ GNUNET_TESTING_cmd_stop_testing_system ("stop-testbed",
+ "netjail-start-testbed-1",
+ "2",
+ "1"),
+ GNUNET_TESTING_cmd_netjail_stop ("netjail-stop-1",
"2",
"1"),
GNUNET_TESTING_cmd_end ()