diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2024-03-02 10:28:50 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2024-03-02 10:28:50 +0100 |
commit | c2464e9f9cecfa9dcdb00bffdf57da0100a935eb (patch) | |
tree | 86fd012932225fe7c245648504b155572e62c93a | |
parent | 571599776bfd4b416e9e09217195c0fc5a41e86e (diff) | |
download | gnunet-c2464e9f9cecfa9dcdb00bffdf57da0100a935eb.tar.gz gnunet-c2464e9f9cecfa9dcdb00bffdf57da0100a935eb.zip |
CORE: Fix tests; skip interactive script
-rw-r--r-- | src/service/core/Makefile.am | 4 | ||||
-rw-r--r-- | src/service/core/test_core_api_peer1.conf | 12 | ||||
-rw-r--r-- | src/service/core/test_core_api_peer2.conf | 12 | ||||
-rw-r--r-- | src/service/core/test_core_defaults.conf | 4 |
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 |
96 | check_SCRIPTS= \ | 96 | #check_SCRIPTS= \ |
97 | test_core_start_testcase.sh | 97 | # test_core_start_testcase.sh |
98 | 98 | ||
99 | if ENABLE_TEST_RUN | 99 | if ENABLE_TEST_RUN |
100 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; | 100 | AM_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 | |||
13 | PORT = 12462 | 13 | PORT = 12462 |
14 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-resolver.sock | 14 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-resolver.sock |
15 | 15 | ||
16 | [peerinfo] | 16 | [peerstore] |
17 | PORT = 12463 | 17 | PORT = 12463 |
18 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-peerinfo.sock | 18 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-peerstore.sock |
19 | 19 | ||
20 | [transport] | 20 | [transport] |
21 | PORT = 12464 | 21 | PORT = 12464 |
@@ -25,14 +25,10 @@ UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock | |||
25 | PORT = 12475 | 25 | PORT = 12475 |
26 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-core.sock | 26 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-core.sock |
27 | 27 | ||
28 | [ats] | 28 | [communicator-tcp] |
29 | PORT = 12476 | ||
30 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-ats.sock | ||
31 | |||
32 | [transport-tcp] | ||
33 | PORT = 12467 | 29 | PORT = 12467 |
34 | 30 | ||
35 | [transport-udp] | 31 | [communicator-udp] |
36 | PORT = 12468 | 32 | PORT = 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 | |||
14 | PORT = 22462 | 14 | PORT = 22462 |
15 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-resolver.sock | 15 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-resolver.sock |
16 | 16 | ||
17 | [peerinfo] | 17 | [peerstore] |
18 | PORT = 22463 | 18 | PORT = 22463 |
19 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-peerinfo.sock | 19 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-peerstore.sock |
20 | 20 | ||
21 | [transport] | 21 | [transport] |
22 | PORT = 22464 | 22 | PORT = 22464 |
@@ -26,14 +26,10 @@ UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-transport.sock | |||
26 | PORT = 22475 | 26 | PORT = 22475 |
27 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-core.sock | 27 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-core.sock |
28 | 28 | ||
29 | [ats] | 29 | [communicator-tcp] |
30 | PORT = 22476 | ||
31 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p2-service-ats.sock | ||
32 | |||
33 | [transport-tcp] | ||
34 | PORT = 22467 | 30 | PORT = 22467 |
35 | 31 | ||
36 | [transport-udp] | 32 | [communicator-udp] |
37 | PORT = 22468 | 33 | PORT = 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 | |||
11 | WAN_QUOTA_IN = 1 GB | 11 | WAN_QUOTA_IN = 1 GB |
12 | WAN_QUOTA_OUT = 1 GB | 12 | WAN_QUOTA_OUT = 1 GB |
13 | 13 | ||
14 | [transport-tcp] | 14 | [communicator-tcp] |
15 | BINDTO = 127.0.0.1 | 15 | BINDTO = 127.0.0.1 |
16 | 16 | ||
17 | [transport-udp] | 17 | [communicator-udp] |
18 | BROADCAST = NO | 18 | BROADCAST = NO |
19 | 19 | ||
20 | [peerinfo] | 20 | [peerinfo] |