aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-17 09:59:05 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-17 09:59:05 +0000
commita41c27367cfbe9fde370a6590da4926f622ea213 (patch)
treee9faebbccd48aaa8c2830bf7ded19cc937d0ac95 /src/core
parenteb89b950a3571c4fc71ebd7aa0ff92a1e5f29501 (diff)
downloadgnunet-a41c27367cfbe9fde370a6590da4926f622ea213.tar.gz
gnunet-a41c27367cfbe9fde370a6590da4926f622ea213.zip
configure ATS ports conflict-free for tests
Diffstat (limited to 'src/core')
-rw-r--r--src/core/test_core_api_peer1.conf3
-rw-r--r--src/core/test_core_api_peer2.conf3
-rw-r--r--src/core/test_core_api_send_to_self.conf4
-rw-r--r--src/core/test_core_quota_asymmetric_recv_limited_peer1.conf4
-rw-r--r--src/core/test_core_quota_asymmetric_recv_limited_peer2.conf4
-rw-r--r--src/core/test_core_quota_asymmetric_send_limit_peer1.conf5
-rw-r--r--src/core/test_core_quota_asymmetric_send_limit_peer2.conf5
-rw-r--r--src/core/test_core_quota_asymmetric_send_limited_peer1.conf35
-rw-r--r--src/core/test_core_quota_asymmetric_send_limited_peer2.conf35
-rw-r--r--src/core/test_core_quota_peer1.conf4
-rw-r--r--src/core/test_core_quota_peer2.conf4
11 files changed, 36 insertions, 70 deletions
diff --git a/src/core/test_core_api_peer1.conf b/src/core/test_core_api_peer1.conf
index d1ba57a7f..662318a44 100644
--- a/src/core/test_core_api_peer1.conf
+++ b/src/core/test_core_api_peer1.conf
@@ -25,3 +25,6 @@ UNIXPATH = /tmp/gnunet-p1-service-peerinfo.sock
25PORT = 12465 25PORT = 12465
26UNIXPATH = /tmp/gnunet-p1-service-transport.sock 26UNIXPATH = /tmp/gnunet-p1-service-transport.sock
27 27
28[ats]
29PORT = 12471
30UNIXPATH = /tmp/gnunet-p1-service-ats.sock
diff --git a/src/core/test_core_api_peer2.conf b/src/core/test_core_api_peer2.conf
index 4e5071251..2e848b849 100644
--- a/src/core/test_core_api_peer2.conf
+++ b/src/core/test_core_api_peer2.conf
@@ -30,3 +30,6 @@ UNIXPATH = /tmp/gnunet-p2-service-transport.sock
30PORT = 22470 30PORT = 22470
31UNIXPATH = /tmp/gnunet-p2-service-core.sock 31UNIXPATH = /tmp/gnunet-p2-service-core.sock
32 32
33[ats]
34PORT = 22471
35UNIXPATH = /tmp/gnunet-p2-service-ats.sock
diff --git a/src/core/test_core_api_send_to_self.conf b/src/core/test_core_api_send_to_self.conf
index 8271ea96a..ad3cb1780 100644
--- a/src/core/test_core_api_send_to_self.conf
+++ b/src/core/test_core_api_send_to_self.conf
@@ -13,6 +13,10 @@ TOTAL_QUOTA_IN = 104857600
13TOTAL_QUOTA_OUT = 104757600 13TOTAL_QUOTA_OUT = 104757600
14UNIXPATH = /tmp/gnunet-service-core.sock 14UNIXPATH = /tmp/gnunet-service-core.sock
15 15
16[ats]
17PORT = 24571
18UNIXPATH = /tmp/gnunet-p1-service-ats.sock
19
16[test-sts] 20[test-sts]
17AUTOSTART = YES 21AUTOSTART = YES
18PORT = 9252 22PORT = 9252
diff --git a/src/core/test_core_quota_asymmetric_recv_limited_peer1.conf b/src/core/test_core_quota_asymmetric_recv_limited_peer1.conf
index 54ee690e2..b7e92ee84 100644
--- a/src/core/test_core_quota_asymmetric_recv_limited_peer1.conf
+++ b/src/core/test_core_quota_asymmetric_recv_limited_peer1.conf
@@ -33,3 +33,7 @@ TOTAL_QUOTA_OUT = 1000000
33UNIXPATH = /tmp/gnunet-core-asym-recv-p1-service-core.sock 33UNIXPATH = /tmp/gnunet-core-asym-recv-p1-service-core.sock
34DEBUG = NO 34DEBUG = NO
35 35
36[ats]
37PORT = 12491
38UNIXPATH = /tmp/gnunet-core-asym-recv-p1-service-ats.sock
39
diff --git a/src/core/test_core_quota_asymmetric_recv_limited_peer2.conf b/src/core/test_core_quota_asymmetric_recv_limited_peer2.conf
index a39b69a61..a0d8c6776 100644
--- a/src/core/test_core_quota_asymmetric_recv_limited_peer2.conf
+++ b/src/core/test_core_quota_asymmetric_recv_limited_peer2.conf
@@ -33,3 +33,7 @@ TOTAL_QUOTA_OUT = 10240
33UNIXPATH = /tmp/gnunet-core-asym-recv-p2-service-core.sock 33UNIXPATH = /tmp/gnunet-core-asym-recv-p2-service-core.sock
34DEBUG = NO 34DEBUG = NO
35 35
36[ats]
37PORT = 22491
38UNIXPATH = /tmp/gnunet-core-asym-recv-p2-service-ats.sock
39
diff --git a/src/core/test_core_quota_asymmetric_send_limit_peer1.conf b/src/core/test_core_quota_asymmetric_send_limit_peer1.conf
index 8c0542cbf..1056e3471 100644
--- a/src/core/test_core_quota_asymmetric_send_limit_peer1.conf
+++ b/src/core/test_core_quota_asymmetric_send_limit_peer1.conf
@@ -33,3 +33,8 @@ TOTAL_QUOTA_OUT = 10240
33UNIXPATH = /tmp/gnunet-core-asym-send-p1-service-core.sock 33UNIXPATH = /tmp/gnunet-core-asym-send-p1-service-core.sock
34DEBUG = NO 34DEBUG = NO
35 35
36
37[ats]
38PORT = 12491
39UNIXPATH = /tmp/gnunet-core-asym-send-p1-service-ats.sock
40
diff --git a/src/core/test_core_quota_asymmetric_send_limit_peer2.conf b/src/core/test_core_quota_asymmetric_send_limit_peer2.conf
index e2471c9bd..8101f62df 100644
--- a/src/core/test_core_quota_asymmetric_send_limit_peer2.conf
+++ b/src/core/test_core_quota_asymmetric_send_limit_peer2.conf
@@ -33,3 +33,8 @@ TOTAL_QUOTA_OUT = 1000000
33UNIXPATH = /tmp/gnunet-core-asym-send-p2-service-core.sock 33UNIXPATH = /tmp/gnunet-core-asym-send-p2-service-core.sock
34DEBUG = NO 34DEBUG = NO
35 35
36
37[ats]
38PORT = 22491
39UNIXPATH = /tmp/gnunet-core-asym-send-p2-service-ats.sock
40
diff --git a/src/core/test_core_quota_asymmetric_send_limited_peer1.conf b/src/core/test_core_quota_asymmetric_send_limited_peer1.conf
deleted file mode 100644
index 9fed64bd1..000000000
--- a/src/core/test_core_quota_asymmetric_send_limited_peer1.conf
+++ /dev/null
@@ -1,35 +0,0 @@
1@INLINE@ test_core_defaults.conf
2[PATHS]
3SERVICEHOME = /tmp/test-gnunet-core-quota-asym-sender-lim-peer-1/
4DEFAULTCONFIG = test_core_quota_asymmetric_send_limited_peer1.conf
5
6[transport-tcp]
7PORT = 12428
8
9[arm]
10PORT = 12426
11UNIXPATH = /tmp/gnunet-core-asym-send-p1-service-arm.sock
12
13[statistics]
14PORT = 12427
15UNIXPATH = /tmp/gnunet-core-asym-send-p1-service-statistics.sock
16
17[resolver]
18PORT = 12424
19UNIXPATH = /tmp/gnunet-core-asym-send-p1-service-resolver.sock
20
21[peerinfo]
22PORT = 12429
23UNIXPATH = /tmp/gnunet-core-asym-send-p1-service-peerinfo.sock
24
25[transport]
26PORT = 12425
27UNIXPATH = /tmp/gnunet-core-asym-send-p1-service-transport.sock
28
29[core]
30PORT = 12430
31TOTAL_QUOTA_IN = 10240
32TOTAL_QUOTA_OUT = 10240
33UNIXPATH = /tmp/gnunet-core-asym-send-p1-service-core.sock
34DEBUG = NO
35
diff --git a/src/core/test_core_quota_asymmetric_send_limited_peer2.conf b/src/core/test_core_quota_asymmetric_send_limited_peer2.conf
deleted file mode 100644
index 6a766985c..000000000
--- a/src/core/test_core_quota_asymmetric_send_limited_peer2.conf
+++ /dev/null
@@ -1,35 +0,0 @@
1@INLINE@ test_core_defaults.conf
2[PATHS]
3SERVICEHOME = /tmp/test-gnunet-core-quota-asym-sender-lim-peer-2/
4DEFAULTCONFIG = test_core_quota_asymmetric_send_limited_peer2.conf
5
6[transport-tcp]
7PORT = 22428
8
9[arm]
10PORT = 22426
11UNIXPATH = /tmp/gnunet-core-asym-send-p2-service-arm.sock
12
13[statistics]
14PORT = 22427
15UNIXPATH = /tmp/gnunet-core-asym-send-p2-service-statistics.sock
16
17[resolver]
18PORT = 22424
19UNIXPATH = /tmp/gnunet-core-asym-send-p2-service-resolver.sock
20
21[peerinfo]
22PORT = 22429
23UNIXPATH = /tmp/gnunet-core-asym-send-p2-service-peerinfo.sock
24
25[transport]
26PORT = 22425
27UNIXPATH = /tmp/gnunet-core-asym-send-p2-service-transport.sock
28
29[core]
30PORT = 22430
31TOTAL_QUOTA_IN = 1000000
32TOTAL_QUOTA_OUT = 1000000
33UNIXPATH = /tmp/gnunet-core-asym-send-p2-service-core.sock
34DEBUG = NO
35
diff --git a/src/core/test_core_quota_peer1.conf b/src/core/test_core_quota_peer1.conf
index 18b806131..78b4a8aac 100644
--- a/src/core/test_core_quota_peer1.conf
+++ b/src/core/test_core_quota_peer1.conf
@@ -33,3 +33,7 @@ TOTAL_QUOTA_OUT = 10240
33UNIXPATH = /tmp/gnunet-core-sym-p1-service-core.sock 33UNIXPATH = /tmp/gnunet-core-sym-p1-service-core.sock
34DEBUG = NO 34DEBUG = NO
35 35
36[ats]
37PORT = 12481
38UNIXPATH = /tmp/gnunet-core-sym-p1-service-ats.sock
39
diff --git a/src/core/test_core_quota_peer2.conf b/src/core/test_core_quota_peer2.conf
index 52ae44f33..bc64fee00 100644
--- a/src/core/test_core_quota_peer2.conf
+++ b/src/core/test_core_quota_peer2.conf
@@ -33,3 +33,7 @@ TOTAL_QUOTA_OUT = 10240
33UNIXPATH = /tmp/gnunet-core-sym-p2-service-core.sock 33UNIXPATH = /tmp/gnunet-core-sym-p2-service-core.sock
34DEBUG = NO 34DEBUG = NO
35 35
36[ats]
37PORT = 22482
38UNIXPATH = /tmp/gnunet-core-sym-p2-service-ats.sock
39