add send_message()
authorxrs <xrs@mail36.net>
Thu, 12 Mar 2020 11:05:35 +0000 (12:05 +0100)
committerxrs <xrs@mail36.net>
Thu, 21 May 2020 20:46:49 +0000 (22:46 +0200)
src/cadet/test_cadeT.c

index ee6bcd9e164fbc5a51bcc2628592d89d1839a656..17db2418bc4dbb834dfad2cec7ee659ed28a266c 100644 (file)
@@ -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
 
 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();
 }