From ac71165822501c42b00980db2fb7f5e2144f3d20 Mon Sep 17 00:00:00 2001 From: t3sserakt Date: Mon, 25 Jan 2021 15:47:10 +0100 Subject: - fixed bug in tcp com challenge logic. added test case for bidirectional test. --- src/transport/Makefile.am | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'src/transport/Makefile.am') diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am index a2fc3811e..0251b001e 100644 --- a/src/transport/Makefile.am +++ b/src/transport/Makefile.am @@ -618,7 +618,8 @@ check_PROGRAMS += \ test_communicator_basic-udp \ test_communicator_rekey-tcp \ test_communicator_rekey-udp \ - test_communicator_backchannel-udp + test_communicator_backchannel-udp \ + test_communicator_bidirect-tcp endif endif @@ -696,7 +697,8 @@ TESTS += \ test_communicator_basic-udp \ test_communicator_rekey-tcp \ test_communicator_rekey-udp \ - test_communicator_backchannel-udp + test_communicator_backchannel-udp \ + test_communicator_bidirect-tcp endif endif @@ -857,6 +859,14 @@ test_communicator_backchannel_udp_LDADD = \ $(top_builddir)/src/testing/libgnunettesting.la \ $(top_builddir)/src/util/libgnunetutil.la \ $(top_builddir)/src/statistics/libgnunetstatistics.la + +test_communicator_bidirect_tcp_SOURCES = \ + test_communicator_basic.c +test_communicator_bidirect_tcp_LDADD = \ + libgnunettransporttesting2.la \ + $(top_builddir)/src/testing/libgnunettesting.la \ + $(top_builddir)/src/util/libgnunetutil.la \ + $(top_builddir)/src/statistics/libgnunetstatistics.la endif test_plugin_unix_SOURCES = \ @@ -1567,4 +1577,6 @@ test_communicator_tcp_rekey_peer2.conf \ test_communicator_udp_rekey_peer1.conf \ test_communicator_udp_rekey_peer2.conf \ test_communicator_udp_backchannel_peer1.conf \ -test_communicator_udp_backchannel_peer2.conf +test_communicator_udp_backchannel_peer2.conf \ +test_communicator_tcp_bidirect_peer1.conf \ +test_communicator_tcp_bidirect_peer2.conf -- cgit v1.2.3