diff options
author | xrs <xrs@mail36.net> | 2020-03-12 12:05:35 +0100 |
---|---|---|
committer | xrs <xrs@mail36.net> | 2020-05-21 22:46:49 +0200 |
commit | d65ca2bef7393aa517f50f86f0921047f02a34dc (patch) | |
tree | 8056e52f265276dedecc44e4e61684032b14d558 | |
parent | 81405b6abff2f0b6fb774bdf227ded577c1ce2de (diff) | |
download | gnunet-d65ca2bef7393aa517f50f86f0921047f02a34dc.tar.gz gnunet-d65ca2bef7393aa517f50f86f0921047f02a34dc.zip |
add send_message()
-rw-r--r-- | src/cadet/test_cadeT.c | 18 |
1 files 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 @@ | |||
33 | * x create method to find out KX initiator | 33 | * x create method to find out KX initiator |
34 | * - send a message over channel | 34 | * - send a message over channel |
35 | * - check if message was received | 35 | * - check if message was received |
36 | * - breakup the connection without sending a channel destroy message | 36 | * - breakup the connection without the receiver receiving a channel destroy message |
37 | * - assert tunnel is down | 37 | * - assert tunnel is down |
38 | * - resume channel (second handshake for tunnel) | 38 | * - resume channel (second handshake for tunnel) |
39 | * - send second message over channel | 39 | * - send second message over channel |
@@ -61,6 +61,16 @@ | |||
61 | 61 | ||
62 | static int kx_initiator; | 62 | static int kx_initiator; |
63 | 63 | ||
64 | static void | ||
65 | send_message () | ||
66 | { | ||
67 | } | ||
68 | |||
69 | /** | ||
70 | * This function is called after all testbed management is done and the | ||
71 | * testbed peers are ready for the actual test logic. | ||
72 | * Use struct test_peers[i] to control the peers. | ||
73 | */ | ||
64 | void | 74 | void |
65 | run_test () | 75 | run_test () |
66 | { | 76 | { |
@@ -72,11 +82,7 @@ run_test () | |||
72 | "KX initiator is peer %s\n", | 82 | "KX initiator is peer %s\n", |
73 | GNUNET_i2s (&test_peers[kx_initiator].id)); | 83 | GNUNET_i2s (&test_peers[kx_initiator].id)); |
74 | 84 | ||
75 | /** | 85 | send_message(); |
76 | * This function is called after all testbed management is done and the | ||
77 | * testbed peers are ready for the actual test logic. | ||
78 | * Use struct test_peers[i] to control the peers. | ||
79 | */ | ||
80 | } | 86 | } |
81 | 87 | ||
82 | 88 | ||