aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/transport/Makefile.am14
-rw-r--r--src/transport/test_communicator_udp_peer1.conf31
-rw-r--r--src/transport/test_communicator_udp_peer2.conf31
3 files changed, 74 insertions, 2 deletions
diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am
index e35b6bb3f..e037f3001 100644
--- a/src/transport/Makefile.am
+++ b/src/transport/Makefile.am
@@ -597,7 +597,8 @@ check_PROGRAMS += \
597 test_transport_api_reliability_udp \ 597 test_transport_api_reliability_udp \
598 test_quota_compliance_udp \ 598 test_quota_compliance_udp \
599 test_communicator_basic_unix \ 599 test_communicator_basic_unix \
600 test_communicator_basic_tcp 600 test_communicator_basic_tcp \
601 test_communicator_basic_udp
601endif 602endif
602endif 603endif
603 604
@@ -796,6 +797,13 @@ test_communicator_basic_tcp_LDADD = \
796 libgnunettransporttesting2.la \ 797 libgnunettransporttesting2.la \
797 $(top_builddir)/src/testing/libgnunettesting.la \ 798 $(top_builddir)/src/testing/libgnunettesting.la \
798 $(top_builddir)/src/util/libgnunetutil.la 799 $(top_builddir)/src/util/libgnunetutil.la
800
801test_communicator_basic_udp_SOURCES = \
802 test_communicator_basic.c
803test_communicator_basic_udp_LDADD = \
804 libgnunettransporttesting2.la \
805 $(top_builddir)/src/testing/libgnunettesting.la \
806 $(top_builddir)/src/util/libgnunetutil.la
799endif 807endif
800 808
801test_plugin_unix_SOURCES = \ 809test_plugin_unix_SOURCES = \
@@ -1498,4 +1506,6 @@ test_transport_api_slow_ats_peer2.conf \
1498test_communicator_unix_peer1.conf \ 1506test_communicator_unix_peer1.conf \
1499test_communicator_unix_peer2.conf \ 1507test_communicator_unix_peer2.conf \
1500test_communicator_tcp_peer1.conf \ 1508test_communicator_tcp_peer1.conf \
1501test_communicator_tcp_peer2.conf 1509test_communicator_tcp_peer2.conf \
1510test_communicator_udp_peer1.conf \
1511test_communicator_udp_peer2.conf
diff --git a/src/transport/test_communicator_udp_peer1.conf b/src/transport/test_communicator_udp_peer1.conf
new file mode 100644
index 000000000..fc08af1ee
--- /dev/null
+++ b/src/transport/test_communicator_udp_peer1.conf
@@ -0,0 +1,31 @@
1@INLINE@ test_transport_defaults.conf
2
3[PATHS]
4GNUNET_TEST_HOME = $GNUNET_TMP/test-communicator-unix-1/
5
6[PEER]
7PRIVATE_KEY = $GNUNET_TMP/test-communicator-unix-1/private.key
8
9[transport-tcp]
10PORT = 52400
11
12[transport-udp]
13PORT = 52401
14
15[transport]
16PORT = 60000
17UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-transport_test_1.sock
18
19[nat]
20UNIXPATH = $GNUNET_TMP/test-communicator-unix-1/nat.sock
21ENABLE_IPSCAN = YES
22
23[communicator-unix]
24UNIXPATH = $GNUNET_RUNTIME_DIR/test_gnunet-communicator-unix_1.sock
25
26[communicator-tcp]
27BINDTO = 60002
28DISABLE_V6 = YES
29
30[communicator-udp]
31BINDTO = 60002
diff --git a/src/transport/test_communicator_udp_peer2.conf b/src/transport/test_communicator_udp_peer2.conf
new file mode 100644
index 000000000..4197df00d
--- /dev/null
+++ b/src/transport/test_communicator_udp_peer2.conf
@@ -0,0 +1,31 @@
1@INLINE@ test_transport_defaults.conf
2
3[PATHS]
4GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunetd-plugin-transport/
5
6[PEER]
7PRIVATE_KEY = $GNUNET_TMP/test-communicator-unix-2/private.key
8
9
10[transport-tcp]
11PORT = 52400
12
13[transport-udp]
14PORT = 52401
15
16[transport]
17PORT = 60001
18UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-transport_test_2.sock
19
20[nat]
21UNIXPATH = $GNUNET_TMP/test-communicator-unix-2/nat.sock
22
23[communicator-unix]
24UNIXPATH = $GNUNET_RUNTIME_DIR/test_gnunet-communicator-unix_2.sock
25
26[communicator-tcp]
27BINDTO = 60003
28DISABLE_V6 = YES
29
30[communicator-udp]
31BINDTO = 60003