fix Makefile.am
authorxrs <xrs@mail36.net>
Wed, 8 Jan 2020 20:23:06 +0000 (21:23 +0100)
committerxrs <xrs@mail36.net>
Wed, 8 Jan 2020 20:23:06 +0000 (21:23 +0100)
src/cadet/Makefile.am
src/cadet/test_cadet.c

index b197e8a007cdb2006ba0482ba52884f39041fff5..2289a2d96838ce92d59cebb6cbbbc0eeac3ccdf2 100644 (file)
@@ -96,6 +96,7 @@ check_PROGRAMS = \
   test_cadet_2_speed_reliable \
   test_cadet_2_speed_reliable_backwards \
   test_cadet_2_reopen \
+  test_cadet_2_destroy \
   test_cadet_5_forward \
   test_cadet_5_signal \
   test_cadet_5_keepalive \
index ceef37914fec7159bc470aa660d6154b0b5dd9d6..661e8c06c34c765037e2394ba2407cc7f84a6ca4 100644 (file)
@@ -751,6 +751,10 @@ send_test_message (struct GNUNET_CADET_Channel *channel)
                 "Sending DATA %u [%d bytes]\n",
                 data_sent, size);
   }
+  else if (DESTROY == test)
+  {
+    payload = data_sent;
+  }
   else
   {
     GNUNET_assert (0);