projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
582f110
)
fix Makefile.am
author
xrs
<xrs@mail36.net>
Wed, 8 Jan 2020 20:23:06 +0000
(21:23 +0100)
committer
xrs
<xrs@mail36.net>
Wed, 8 Jan 2020 20:23:06 +0000
(21:23 +0100)
src/cadet/Makefile.am
patch
|
blob
|
history
src/cadet/test_cadet.c
patch
|
blob
|
history
diff --git
a/src/cadet/Makefile.am
b/src/cadet/Makefile.am
index b197e8a007cdb2006ba0482ba52884f39041fff5..2289a2d96838ce92d59cebb6cbbbc0eeac3ccdf2 100644
(file)
--- a/
src/cadet/Makefile.am
+++ b/
src/cadet/Makefile.am
@@
-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 \
diff --git
a/src/cadet/test_cadet.c
b/src/cadet/test_cadet.c
index ceef37914fec7159bc470aa660d6154b0b5dd9d6..661e8c06c34c765037e2394ba2407cc7f84a6ca4 100644
(file)
--- a/
src/cadet/test_cadet.c
+++ b/
src/cadet/test_cadet.c
@@
-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);