aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-09-07 14:23:23 +0000
committerChristian Grothoff <christian@grothoff.org>2009-09-07 14:23:23 +0000
commitd22616e71b8ef07254ae09c37ff4f75c446d8213 (patch)
tree43f2f7dd87bae7ec91aa02a3b6961da89f2595f8 /src
parent5e4793e0340de50f4e0b71ab72587bc0c9025070 (diff)
downloadgnunet-d22616e71b8ef07254ae09c37ff4f75c446d8213.tar.gz
gnunet-d22616e71b8ef07254ae09c37ff4f75c446d8213.zip
disable
Diffstat (limited to 'src')
-rw-r--r--src/hostlist/Makefile.am3
-rw-r--r--src/hostlist/test_gnunet_daemon_hostlist.c2
-rw-r--r--src/hostlist/test_gnunet_daemon_hostlist_data.conf17
-rw-r--r--src/hostlist/test_gnunet_daemon_hostlist_peer1.conf29
-rw-r--r--src/hostlist/test_gnunet_daemon_hostlist_peer2.conf29
5 files changed, 78 insertions, 2 deletions
diff --git a/src/hostlist/Makefile.am b/src/hostlist/Makefile.am
index 9a01b08da..ac1409961 100644
--- a/src/hostlist/Makefile.am
+++ b/src/hostlist/Makefile.am
@@ -32,7 +32,7 @@ gnunet_daemon_hostlist_CPPFLAGS = \
32check_PROGRAMS = \ 32check_PROGRAMS = \
33 test_gnunet_daemon_hostlist 33 test_gnunet_daemon_hostlist
34 34
35TESTS = $(check_PROGRAMS) $(check_SCRIPTS) 35# TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
36 36
37test_gnunet_daemon_hostlist_SOURCES = \ 37test_gnunet_daemon_hostlist_SOURCES = \
38 test_gnunet_daemon_hostlist.c 38 test_gnunet_daemon_hostlist.c
@@ -42,6 +42,7 @@ test_gnunet_daemon_hostlist_LDADD = \
42 $(top_builddir)/src/util/libgnunetutil.la 42 $(top_builddir)/src/util/libgnunetutil.la
43 43
44EXTRA_DIST = \ 44EXTRA_DIST = \
45 test_gnunet_daemon_hostlist_data.conf \
45 test_gnunet_daemon_hostlist_data_peer1.conf \ 46 test_gnunet_daemon_hostlist_data_peer1.conf \
46 test_gnunet_daemon_hostlist_data_peer2.conf 47 test_gnunet_daemon_hostlist_data_peer2.conf
47 48
diff --git a/src/hostlist/test_gnunet_daemon_hostlist.c b/src/hostlist/test_gnunet_daemon_hostlist.c
index 63f6e5210..e99b486cc 100644
--- a/src/hostlist/test_gnunet_daemon_hostlist.c
+++ b/src/hostlist/test_gnunet_daemon_hostlist.c
@@ -141,7 +141,7 @@ static int
141check () 141check ()
142{ 142{
143 char *const argv[] = { "test-gnunet-daemon-hostlist", 143 char *const argv[] = { "test-gnunet-daemon-hostlist",
144 "-c", "test_gnunet_daemon_hostlist.conf", 144 "-c", "test_gnunet_daemon_hostlist_data.conf",
145#if VERBOSE 145#if VERBOSE
146 "-L", "DEBUG", 146 "-L", "DEBUG",
147#endif 147#endif
diff --git a/src/hostlist/test_gnunet_daemon_hostlist_data.conf b/src/hostlist/test_gnunet_daemon_hostlist_data.conf
new file mode 100644
index 000000000..15a52e335
--- /dev/null
+++ b/src/hostlist/test_gnunet_daemon_hostlist_data.conf
@@ -0,0 +1,17 @@
1[PATHS]
2SERVICEHOME = /tmp/test-gnunetd-hostlist/
3DEFAULTCONFIG = /etc/gnunetd.conf
4
5[hostlist]
6PORT = 23354
7# port for hostlist http server
8HTTPPORT = 28080
9HOSTNAME = localhost
10HOME = $SERVICEHOME
11CONFIG = $DEFAULTCONFIG
12BINARY = gnunet-daemon-hostlist
13# consider having "-e" as default as well once implemented
14OPTIONS = -b
15SERVERS = http://gnunet.org:8080/
16# proxy for downloading hostlists
17HTTP-PROXY = \ No newline at end of file
diff --git a/src/hostlist/test_gnunet_daemon_hostlist_peer1.conf b/src/hostlist/test_gnunet_daemon_hostlist_peer1.conf
new file mode 100644
index 000000000..1228a98e8
--- /dev/null
+++ b/src/hostlist/test_gnunet_daemon_hostlist_peer1.conf
@@ -0,0 +1,29 @@
1[PATHS]
2SERVICEHOME = /tmp/test-gnunetd-hostlist-peer-1/
3DEFAULTCONFIG = test_gnunet_daemon_hostlist_peer1.conf
4
5[resolver]
6PORT = 12964
7
8[transport]
9PORT = 12965
10PLUGINS = tcp
11#DEBUG = YES
12
13[arm]
14PORT = 12966
15
16[statistics]
17PORT = 12967
18
19[transport-tcp]
20PORT = 12968
21
22[peerinfo]
23PORT = 12969
24
25[core]
26PORT = 12970
27
28[testing]
29WEAKRANDOM = YES
diff --git a/src/hostlist/test_gnunet_daemon_hostlist_peer2.conf b/src/hostlist/test_gnunet_daemon_hostlist_peer2.conf
new file mode 100644
index 000000000..f8c9d4ef1
--- /dev/null
+++ b/src/hostlist/test_gnunet_daemon_hostlist_peer2.conf
@@ -0,0 +1,29 @@
1[PATHS]
2SERVICEHOME = /tmp/test-gnunetd-hostlist-peer-2/
3DEFAULTCONFIG = test_gnunet_daemon_hostlist_peer2.conf
4
5[resolver]
6PORT = 22964
7
8[transport]
9PORT = 22965
10PLUGINS = tcp
11#DEBUG = YES
12
13[arm]
14PORT = 22966
15
16[statistics]
17PORT = 22967
18
19[transport-tcp]
20PORT = 22968
21
22[peerinfo]
23PORT = 22969
24
25[core]
26PORT = 22970
27
28[testing]
29WEAKRANDOM = YES