aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2024-03-02 10:28:50 +0100
committerMartin Schanzenbach <schanzen@gnunet.org>2024-03-02 10:28:50 +0100
commitc2464e9f9cecfa9dcdb00bffdf57da0100a935eb (patch)
tree86fd012932225fe7c245648504b155572e62c93a
parent571599776bfd4b416e9e09217195c0fc5a41e86e (diff)
downloadgnunet-c2464e9f9cecfa9dcdb00bffdf57da0100a935eb.tar.gz
gnunet-c2464e9f9cecfa9dcdb00bffdf57da0100a935eb.zip
CORE: Fix tests; skip interactive script
-rw-r--r--src/service/core/Makefile.am4
-rw-r--r--src/service/core/test_core_api_peer1.conf12
-rw-r--r--src/service/core/test_core_api_peer2.conf12
-rw-r--r--src/service/core/test_core_defaults.conf4
4 files changed, 12 insertions, 20 deletions
diff --git a/src/service/core/Makefile.am b/src/service/core/Makefile.am
index 990822821..220da838f 100644
--- a/src/service/core/Makefile.am
+++ b/src/service/core/Makefile.am
@@ -93,8 +93,8 @@ check_PROGRAMS = \
93 $(TESTING_TESTS) 93 $(TESTING_TESTS)
94 94
95# Only test TNG if we run experimental 95# Only test TNG if we run experimental
96check_SCRIPTS= \ 96#check_SCRIPTS= \
97 test_core_start_testcase.sh 97# test_core_start_testcase.sh
98 98
99if ENABLE_TEST_RUN 99if ENABLE_TEST_RUN
100AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; 100AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
diff --git a/src/service/core/test_core_api_peer1.conf b/src/service/core/test_core_api_peer1.conf
index 28463effe..c3e8fb86c 100644
--- a/src/service/core/test_core_api_peer1.conf
+++ b/src/service/core/test_core_api_peer1.conf
@@ -13,9 +13,9 @@ PORT = 12461
13PORT = 12462 13PORT = 12462
14UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-resolver.sock 14UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-resolver.sock
15 15
16[peerinfo] 16[peerstore]
17PORT = 12463 17PORT = 12463
18UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-peerinfo.sock 18UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-peerstore.sock
19 19
20[transport] 20[transport]
21PORT = 12464 21PORT = 12464
@@ -25,14 +25,10 @@ UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock
25PORT = 12475 25PORT = 12475
26UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-core.sock 26UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-core.sock
27 27
28[ats] 28[communicator-tcp]
29PORT = 12476
30UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-ats.sock
31
32[transport-tcp]
33PORT = 12467 29PORT = 12467
34 30
35[transport-udp] 31[communicator-udp]
36PORT = 12468 32PORT = 12468
37 33
38[transport-unix] 34[transport-unix]
diff --git a/src/service/core/test_core_api_peer2.conf b/src/service/core/test_core_api_peer2.conf
index 819d58d17..7cea78ae4 100644
--- a/src/service/core/test_core_api_peer2.conf
+++ b/src/service/core/test_core_api_peer2.conf
@@ -14,9 +14,9 @@ UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-statistics.sock
14PORT = 22462 14PORT = 22462
15UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-resolver.sock 15UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-resolver.sock
16 16
17[peerinfo] 17[peerstore]
18PORT = 22463 18PORT = 22463
19UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-peerinfo.sock 19UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-peerstore.sock
20 20
21[transport] 21[transport]
22PORT = 22464 22PORT = 22464
@@ -26,14 +26,10 @@ UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-transport.sock
26PORT = 22475 26PORT = 22475
27UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-core.sock 27UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-core.sock
28 28
29[ats] 29[communicator-tcp]
30PORT = 22476
31UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-ats.sock
32
33[transport-tcp]
34PORT = 22467 30PORT = 22467
35 31
36[transport-udp] 32[communicator-udp]
37PORT = 22468 33PORT = 22468
38 34
39[transport-unix] 35[transport-unix]
diff --git a/src/service/core/test_core_defaults.conf b/src/service/core/test_core_defaults.conf
index 0112971d5..b098b7d63 100644
--- a/src/service/core/test_core_defaults.conf
+++ b/src/service/core/test_core_defaults.conf
@@ -11,10 +11,10 @@ ENABLE_UPNP = NO
11WAN_QUOTA_IN = 1 GB 11WAN_QUOTA_IN = 1 GB
12WAN_QUOTA_OUT = 1 GB 12WAN_QUOTA_OUT = 1 GB
13 13
14[transport-tcp] 14[communicator-tcp]
15BINDTO = 127.0.0.1 15BINDTO = 127.0.0.1
16 16
17[transport-udp] 17[communicator-udp]
18BROADCAST = NO 18BROADCAST = NO
19 19
20[peerinfo] 20[peerinfo]