From 7a3df52b28649fd5a0b7f0f29e5656df4022e4f6 Mon Sep 17 00:00:00 2001 From: t3sserakt Date: Mon, 23 Oct 2023 10:53:39 +0200 Subject: TNG: Added missing configuration files for the manual testing use case. --- src/service/core/test_core_just_run.conf | 47 +++++++++++++++++++++++++++ src/service/core/test_core_just_run_host.conf | 45 +++++++++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 src/service/core/test_core_just_run.conf create mode 100644 src/service/core/test_core_just_run_host.conf diff --git a/src/service/core/test_core_just_run.conf b/src/service/core/test_core_just_run.conf new file mode 100644 index 000000000..7ea8686a1 --- /dev/null +++ b/src/service/core/test_core_just_run.conf @@ -0,0 +1,47 @@ +@INLINE@ ../transport/template_tng_cfg_peer1.conf +[PATHS] +GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p1/ + +[transport] +BINARY = gnunet-service-tng +#PREFIX = valgrind --leak-check=full --track-origins=yes --trace-children=yes --log-file=$GNUNET_TEST_HOME/vg_peer1-%p +UNIXPATH = $GNUNET_RUNTIME_DIR/tng-p1.sock + +[PEER] +PRIVATE_KEY = $GNUNET_RUNTIME_DIR/private.key + +[communicator-tcp] +BINARY = gnunet-communicator-tcp +BINDTO = 192.168.15.1:60002 +DISABLE_V6 = YES +IMMEDIATE_START = YES +UNIXPATH = $GNUNET_RUNTIME_DIR/tcp-comm-p1.sock +#PREFIX = valgrind --leak-check=full --track-origins=yes --trace-children=yes --log-file=$GNUNET_TEST_HOME/vg_ctpeer1-%p +#PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args + +[communicator-udp] +#PREFIX = valgrind --leak-check=full --track-origins=yes --trace-children=yes --log-file=$GNUNET_TEST_HOME/vg_cupeer1-%p +BINARY = gnunet-communicator-udp +BINDTO = 192.168.15.1:60002 +DISABLE_V6 = YES +IMMEDIATE_START = YES +UNIXPATH = $GNUNET_RUNTIME_DIR/udp-comm-p1.sock + +[peerstore] +IMMEDIATE_START = YES +USE_INCLUDED_HELLOS = YES +#PREFIX = valgrind --leak-check=full --track-origins=yes --trace-children=yes --log-file=$GNUNET_TEST_HOME/vg_peer1-%p + +[topology] +IMMEDIATE_START = YES + +[dht] +IMMEDIATE_START = YES + +[fs] +IMMEDIATE_START = YES + +[hostlist] +IMMEDIATE_START = YES +SERVERS = http://192.168.15.1:8080/ +#PREFIX = valgrind --leak-check=full --track-origins=yes --trace-children=yes --log-file=$GNUNET_TEST_HOME/vg_peer1-%p \ No newline at end of file diff --git a/src/service/core/test_core_just_run_host.conf b/src/service/core/test_core_just_run_host.conf new file mode 100644 index 000000000..045ed5940 --- /dev/null +++ b/src/service/core/test_core_just_run_host.conf @@ -0,0 +1,45 @@ +@INLINE@ ../transport/template_tng_cfg_peer1.conf +[PATHS] +GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p1/ + +[transport] +BINARY = gnunet-service-tng +#PREFIX = valgrind --leak-check=full --track-origins=yes --trace-children=yes --log-file=$GNUNET_TEST_HOME/vg_peer1-%p +UNIXPATH = $GNUNET_RUNTIME_DIR/tng-p1.sock + +[PEER] +PRIVATE_KEY = $GNUNET_RUNTIME_DIR/private.key + +[communicator-tcp] +BINARY = gnunet-communicator-tcp +BINDTO = 192.168.15.1:60002 +DISABLE_V6 = YES +IMMEDIATE_START = YES +UNIXPATH = $GNUNET_RUNTIME_DIR/tcp-comm-p1.sock +#PREFIX = valgrind --leak-check=full --track-origins=yes --trace-children=yes --log-file=$GNUNET_TEST_HOME/vg_ctpeer1-%p +#PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args + +[communicator-udp] +#PREFIX = valgrind --leak-check=full --track-origins=yes --trace-children=yes --log-file=$GNUNET_TEST_HOME/vg_cupeer1-%p +BINARY = gnunet-communicator-udp +BINDTO = 192.168.15.1:60002 +DISABLE_V6 = YES +IMMEDIATE_START = YES +UNIXPATH = $GNUNET_RUNTIME_DIR/udp-comm-p1.sock + +[peerstore] +IMMEDIATE_START = YES +USE_INCLUDED_HELLOS = YES + +[topology] +IMMEDIATE_START = YES + +[dht] +IMMEDIATE_START = YES + +[fs] +IMMEDIATE_START = YES + +[hostlist] +IMMEDIATE_START = YES +OPTIONS = -p \ No newline at end of file -- cgit v1.2.3