diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-12-16 21:14:39 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-12-16 21:14:39 +0000 |
commit | bf36352bcdb8eeee76e63604a8ef74a61f899b43 (patch) | |
tree | 04b46b5351cf84a266f6c5f19796f3570da1cca0 | |
parent | cffaa8b4a6591c02325a368dcc7cd3b999d1ef60 (diff) | |
download | gnunet-bf36352bcdb8eeee76e63604a8ef74a61f899b43.tar.gz gnunet-bf36352bcdb8eeee76e63604a8ef74a61f899b43.zip |
-adding single file for testing without autostarts above core level
-rw-r--r-- | contrib/Makefile.am | 1 | ||||
-rw-r--r-- | contrib/no_autostart_above_core.conf | 71 | ||||
-rw-r--r-- | src/gns/test_gns_defaults.conf | 26 | ||||
-rw-r--r-- | src/hostlist/test_gnunet_daemon_hostlist_peer1.conf | 1 | ||||
-rw-r--r-- | src/hostlist/test_gnunet_daemon_hostlist_peer2.conf | 1 | ||||
-rw-r--r-- | src/hostlist/test_hostlist_defaults.conf | 1 | ||||
-rw-r--r-- | src/hostlist/test_learning_adv_peer.conf | 5 | ||||
-rw-r--r-- | src/hostlist/test_learning_learn_peer.conf | 5 | ||||
-rw-r--r-- | src/hostlist/test_learning_learn_peer2.conf | 2 | ||||
-rw-r--r-- | src/regex/test_regex_api_data.conf | 51 |
10 files changed, 88 insertions, 76 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am index 363588abf..e20aa7812 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am | |||
@@ -45,6 +45,7 @@ endif | |||
45 | 45 | ||
46 | EXTRA_DIST = \ | 46 | EXTRA_DIST = \ |
47 | no_forcestart.conf \ | 47 | no_forcestart.conf \ |
48 | no_autostart_above_core.conf \ | ||
48 | coverage.sh \ | 49 | coverage.sh \ |
49 | report.sh \ | 50 | report.sh \ |
50 | terminate.py.in \ | 51 | terminate.py.in \ |
diff --git a/contrib/no_autostart_above_core.conf b/contrib/no_autostart_above_core.conf new file mode 100644 index 000000000..4636f79a9 --- /dev/null +++ b/contrib/no_autostart_above_core.conf | |||
@@ -0,0 +1,71 @@ | |||
1 | # Configuration to disable autostarting of | ||
2 | # all services above the 'core' level. | ||
3 | # (including resolver) | ||
4 | |||
5 | [dns] | ||
6 | AUTOSTART = NO | ||
7 | |||
8 | [dht] | ||
9 | AUTOSTART = NO | ||
10 | |||
11 | [nse] | ||
12 | AUTOSTART = NO | ||
13 | |||
14 | [cadet] | ||
15 | AUTOSTART = NO | ||
16 | |||
17 | [datastore] | ||
18 | AUTOSTART = NO | ||
19 | |||
20 | [fs] | ||
21 | AUTOSTART = NO | ||
22 | |||
23 | [dv] | ||
24 | AUTOSTART = NO | ||
25 | |||
26 | [vpn] | ||
27 | AUTOSTART = NO | ||
28 | |||
29 | [consensus] | ||
30 | AUTOSTART = NO | ||
31 | |||
32 | [resolver] | ||
33 | AUTOSTART = NO | ||
34 | |||
35 | [namestore] | ||
36 | AUTOSTART = NO | ||
37 | |||
38 | [namecache] | ||
39 | AUTOSTART = NO | ||
40 | |||
41 | [identity] | ||
42 | AUTOSTART = NO | ||
43 | |||
44 | [revocation] | ||
45 | AUTOSTART = NO | ||
46 | |||
47 | [conversation] | ||
48 | AUTOSTART = NO | ||
49 | |||
50 | [peerstore] | ||
51 | AUTOSTART = NO | ||
52 | |||
53 | [psycstore] | ||
54 | AUTOSTART = NO | ||
55 | |||
56 | [gns] | ||
57 | AUTOSTART = NO | ||
58 | |||
59 | [regex] | ||
60 | AUTOSTART = NO | ||
61 | |||
62 | [set] | ||
63 | AUTOSTART = NO | ||
64 | |||
65 | [scalarproduct-bob] | ||
66 | AUTOSTART = NO | ||
67 | |||
68 | [scalarproduct-alice] | ||
69 | AUTOSTART = NO | ||
70 | |||
71 | |||
diff --git a/src/gns/test_gns_defaults.conf b/src/gns/test_gns_defaults.conf index e02c803b9..5bcec6dbf 100644 --- a/src/gns/test_gns_defaults.conf +++ b/src/gns/test_gns_defaults.conf | |||
@@ -1,3 +1,6 @@ | |||
1 | @INLINE@ ../../contrib/no_forcestart.conf | ||
2 | @INLINE@ ../../contrib/no_autostart_above_core.conf | ||
3 | |||
1 | [PATHS] | 4 | [PATHS] |
2 | GNUNET_TEST_HOME = /tmp/test-gnunet-gns-testing/ | 5 | GNUNET_TEST_HOME = /tmp/test-gnunet-gns-testing/ |
3 | 6 | ||
@@ -20,26 +23,3 @@ PLUGINS = tcp | |||
20 | [transport-tcp] | 23 | [transport-tcp] |
21 | BINDTO = 127.0.0.1 | 24 | BINDTO = 127.0.0.1 |
22 | 25 | ||
23 | [dns] | ||
24 | AUTOSTART = NO | ||
25 | |||
26 | [nse] | ||
27 | AUTOSTART = NO | ||
28 | |||
29 | [cadet] | ||
30 | AUTOSTART = NO | ||
31 | |||
32 | [datastore] | ||
33 | AUTOSTART = NO | ||
34 | |||
35 | [fs] | ||
36 | AUTOSTART = NO | ||
37 | |||
38 | [dv] | ||
39 | AUTOSTART = NO | ||
40 | |||
41 | [vpn] | ||
42 | AUTOSTART = NO | ||
43 | |||
44 | [consensus] | ||
45 | AUTOSTART = NO | ||
diff --git a/src/hostlist/test_gnunet_daemon_hostlist_peer1.conf b/src/hostlist/test_gnunet_daemon_hostlist_peer1.conf index 4fc4e8dd1..af86e374c 100644 --- a/src/hostlist/test_gnunet_daemon_hostlist_peer1.conf +++ b/src/hostlist/test_gnunet_daemon_hostlist_peer1.conf | |||
@@ -34,6 +34,7 @@ HTTPPORT = 12980 | |||
34 | HOSTLISTFILE = hostlists_peer1.file | 34 | HOSTLISTFILE = hostlists_peer1.file |
35 | OPTIONS = -b -p | 35 | OPTIONS = -b -p |
36 | SERVERS = http://localhost:12981/ | 36 | SERVERS = http://localhost:12981/ |
37 | FORCESTART = YES | ||
37 | 38 | ||
38 | [ats] | 39 | [ats] |
39 | PORT = 12971 | 40 | PORT = 12971 |
diff --git a/src/hostlist/test_gnunet_daemon_hostlist_peer2.conf b/src/hostlist/test_gnunet_daemon_hostlist_peer2.conf index 538a91602..11d32cd1a 100644 --- a/src/hostlist/test_gnunet_daemon_hostlist_peer2.conf +++ b/src/hostlist/test_gnunet_daemon_hostlist_peer2.conf | |||
@@ -34,6 +34,7 @@ HTTPPORT = 12981 | |||
34 | HOSTLISTFILE = hostlists_peer2.file | 34 | HOSTLISTFILE = hostlists_peer2.file |
35 | OPTIONS = -b -p | 35 | OPTIONS = -b -p |
36 | SERVERS = http://localhost:12980/ | 36 | SERVERS = http://localhost:12980/ |
37 | FORCESTART = YES | ||
37 | 38 | ||
38 | [ats] | 39 | [ats] |
39 | PORT = 22971 | 40 | PORT = 22971 |
diff --git a/src/hostlist/test_hostlist_defaults.conf b/src/hostlist/test_hostlist_defaults.conf index 2c5d26ec5..2c9e14fc1 100644 --- a/src/hostlist/test_hostlist_defaults.conf +++ b/src/hostlist/test_hostlist_defaults.conf | |||
@@ -1,4 +1,5 @@ | |||
1 | @INLINE@ ../../contrib/no_forcestart.conf | 1 | @INLINE@ ../../contrib/no_forcestart.conf |
2 | @INLINE@ ../../contrib/no_autostart_above_core.conf | ||
2 | 3 | ||
3 | [PATHS] | 4 | [PATHS] |
4 | GNUNET_TEST_HOME = /tmp/test-gnunet-hostlist/ | 5 | GNUNET_TEST_HOME = /tmp/test-gnunet-hostlist/ |
diff --git a/src/hostlist/test_learning_adv_peer.conf b/src/hostlist/test_learning_adv_peer.conf index 12087a7b7..43db0992f 100644 --- a/src/hostlist/test_learning_adv_peer.conf +++ b/src/hostlist/test_learning_adv_peer.conf | |||
@@ -35,10 +35,7 @@ HOSTLISTFILE = hostlists_adv_peer.file | |||
35 | OPTIONS = -p -a | 35 | OPTIONS = -p -a |
36 | SERVERS = http://localhost:12981/ | 36 | SERVERS = http://localhost:12981/ |
37 | EXTERNAL_DNS_NAME = localhost | 37 | EXTERNAL_DNS_NAME = localhost |
38 | 38 | FORCESTART = YES | |
39 | [dht] | ||
40 | AUTOSTART = NO | ||
41 | |||
42 | 39 | ||
43 | [ats] | 40 | [ats] |
44 | PORT = 22971 | 41 | PORT = 22971 |
diff --git a/src/hostlist/test_learning_learn_peer.conf b/src/hostlist/test_learning_learn_peer.conf index 44415aa49..3411d3e70 100644 --- a/src/hostlist/test_learning_learn_peer.conf +++ b/src/hostlist/test_learning_learn_peer.conf | |||
@@ -34,10 +34,7 @@ HTTPPORT = 12980 | |||
34 | HOSTLISTFILE = hostlists_learn_peer.file | 34 | HOSTLISTFILE = hostlists_learn_peer.file |
35 | OPTIONS = -b -e | 35 | OPTIONS = -b -e |
36 | SERVERS = http://localhost:12981/ | 36 | SERVERS = http://localhost:12981/ |
37 | 37 | FORCESTART = YES | |
38 | [dht] | ||
39 | AUTOSTART = NO | ||
40 | |||
41 | 38 | ||
42 | [ats] | 39 | [ats] |
43 | PORT = 12971 | 40 | PORT = 12971 |
diff --git a/src/hostlist/test_learning_learn_peer2.conf b/src/hostlist/test_learning_learn_peer2.conf index f72790a45..de3e81271 100644 --- a/src/hostlist/test_learning_learn_peer2.conf +++ b/src/hostlist/test_learning_learn_peer2.conf | |||
@@ -34,4 +34,4 @@ HTTPPORT = 32980 | |||
34 | HOSTLISTFILE = hostlists_learn_peer2.file | 34 | HOSTLISTFILE = hostlists_learn_peer2.file |
35 | OPTIONS = -b -e | 35 | OPTIONS = -b -e |
36 | SERVERS = http://localhost:12981/ | 36 | SERVERS = http://localhost:12981/ |
37 | 37 | FORCESTART = YES | |
diff --git a/src/regex/test_regex_api_data.conf b/src/regex/test_regex_api_data.conf index 5c7ad1abd..84df06238 100644 --- a/src/regex/test_regex_api_data.conf +++ b/src/regex/test_regex_api_data.conf | |||
@@ -1,15 +1,9 @@ | |||
1 | @INLINE@ ../../contrib/no_forcestart.conf | ||
2 | @INLINE@ ../../contrib/no_autostart_above_core.conf | ||
3 | |||
1 | [PATHS] | 4 | [PATHS] |
2 | GNUNET_TEST_HOME = /tmp/test-regex-api/ | 5 | GNUNET_TEST_HOME = /tmp/test-regex-api/ |
3 | 6 | ||
4 | [fs] | ||
5 | AUTOSTART = NO | ||
6 | |||
7 | [resolver] | ||
8 | AUTOSTART = NO | ||
9 | |||
10 | [datastore] | ||
11 | AUTOSTART = NO | ||
12 | |||
13 | [dhtcache] | 7 | [dhtcache] |
14 | QUOTA = 1 MB | 8 | QUOTA = 1 MB |
15 | DATABASE = heap | 9 | DATABASE = heap |
@@ -24,35 +18,16 @@ MINIMUM-FRIENDS = 0 | |||
24 | WAN_QUOTA_IN = 1 GB | 18 | WAN_QUOTA_IN = 1 GB |
25 | WAN_QUOTA_OUT = 1 GB | 19 | WAN_QUOTA_OUT = 1 GB |
26 | 20 | ||
27 | [core] | ||
28 | PORT = 2092 | ||
29 | |||
30 | [dht] | 21 | [dht] |
22 | AUTOSTART = YES | ||
31 | PORT = 12370 | 23 | PORT = 12370 |
32 | 24 | ||
25 | [regex] | ||
26 | AUTOSTART = YES | ||
27 | |||
33 | [transport] | 28 | [transport] |
34 | plugins = tcp | 29 | plugins = tcp |
35 | NEIGHBOUR_LIMIT = 50 | 30 | NEIGHBOUR_LIMIT = 50 |
36 | PORT = 2091 | ||
37 | |||
38 | [peerinfo] | ||
39 | PORT = 2090 | ||
40 | |||
41 | [resolver] | ||
42 | PORT = 2089 | ||
43 | |||
44 | [statistics] | ||
45 | PORT = 2088 | ||
46 | |||
47 | [arm] | ||
48 | PORT = 2087 | ||
49 | |||
50 | [transport-tcp] | ||
51 | TIMEOUT = 300 s | ||
52 | PORT = 2094 | ||
53 | |||
54 | [TESTING] | ||
55 | WEAKRANDOM = NO | ||
56 | 31 | ||
57 | [nat] | 32 | [nat] |
58 | DISABLEV6 = YES | 33 | DISABLEV6 = YES |
@@ -62,15 +37,3 @@ BEHIND_NAT = NO | |||
62 | ALLOW_NAT = NO | 37 | ALLOW_NAT = NO |
63 | INTERNAL_ADDRESS = 127.0.0.1 | 38 | INTERNAL_ADDRESS = 127.0.0.1 |
64 | EXTERNAL_ADDRESS = 127.0.0.1 | 39 | EXTERNAL_ADDRESS = 127.0.0.1 |
65 | |||
66 | [dns] | ||
67 | AUTOSTART = NO | ||
68 | |||
69 | [namestore] | ||
70 | AUTOSTART = NO | ||
71 | |||
72 | [nse] | ||
73 | AUTOSTART = NO | ||
74 | |||
75 | [vpn] | ||
76 | AUTOSTART=NO | ||