From d65ca2bef7393aa517f50f86f0921047f02a34dc Mon Sep 17 00:00:00 2001 From: xrs Date: Thu, 12 Mar 2020 12:05:35 +0100 Subject: [PATCH] add send_message() --- src/cadet/test_cadeT.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/cadet/test_cadeT.c b/src/cadet/test_cadeT.c index ee6bcd9e1..17db2418b 100644 --- a/src/cadet/test_cadeT.c +++ b/src/cadet/test_cadeT.c @@ -33,7 +33,7 @@ * x create method to find out KX initiator * - send a message over channel * - check if message was received - * - breakup the connection without sending a channel destroy message + * - breakup the connection without the receiver receiving a channel destroy message * - assert tunnel is down * - resume channel (second handshake for tunnel) * - send second message over channel @@ -61,6 +61,16 @@ static int kx_initiator; +static void +send_message () +{ +} + +/** + * This function is called after all testbed management is done and the + * testbed peers are ready for the actual test logic. + * Use struct test_peers[i] to control the peers. + */ void run_test () { @@ -72,11 +82,7 @@ run_test () "KX initiator is peer %s\n", GNUNET_i2s (&test_peers[kx_initiator].id)); - /** - * This function is called after all testbed management is done and the - * testbed peers are ready for the actual test logic. - * Use struct test_peers[i] to control the peers. - */ + send_message(); } -- 2.25.1