diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-09-07 14:23:23 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-09-07 14:23:23 +0000 |
commit | d22616e71b8ef07254ae09c37ff4f75c446d8213 (patch) | |
tree | 43f2f7dd87bae7ec91aa02a3b6961da89f2595f8 /src | |
parent | 5e4793e0340de50f4e0b71ab72587bc0c9025070 (diff) | |
download | gnunet-d22616e71b8ef07254ae09c37ff4f75c446d8213.tar.gz gnunet-d22616e71b8ef07254ae09c37ff4f75c446d8213.zip |
disable
Diffstat (limited to 'src')
-rw-r--r-- | src/hostlist/Makefile.am | 3 | ||||
-rw-r--r-- | src/hostlist/test_gnunet_daemon_hostlist.c | 2 | ||||
-rw-r--r-- | src/hostlist/test_gnunet_daemon_hostlist_data.conf | 17 | ||||
-rw-r--r-- | src/hostlist/test_gnunet_daemon_hostlist_peer1.conf | 29 | ||||
-rw-r--r-- | src/hostlist/test_gnunet_daemon_hostlist_peer2.conf | 29 |
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 = \ | |||
32 | check_PROGRAMS = \ | 32 | check_PROGRAMS = \ |
33 | test_gnunet_daemon_hostlist | 33 | test_gnunet_daemon_hostlist |
34 | 34 | ||
35 | TESTS = $(check_PROGRAMS) $(check_SCRIPTS) | 35 | # TESTS = $(check_PROGRAMS) $(check_SCRIPTS) |
36 | 36 | ||
37 | test_gnunet_daemon_hostlist_SOURCES = \ | 37 | test_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 | ||
44 | EXTRA_DIST = \ | 44 | EXTRA_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 | |||
141 | check () | 141 | check () |
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] | ||
2 | SERVICEHOME = /tmp/test-gnunetd-hostlist/ | ||
3 | DEFAULTCONFIG = /etc/gnunetd.conf | ||
4 | |||
5 | [hostlist] | ||
6 | PORT = 23354 | ||
7 | # port for hostlist http server | ||
8 | HTTPPORT = 28080 | ||
9 | HOSTNAME = localhost | ||
10 | HOME = $SERVICEHOME | ||
11 | CONFIG = $DEFAULTCONFIG | ||
12 | BINARY = gnunet-daemon-hostlist | ||
13 | # consider having "-e" as default as well once implemented | ||
14 | OPTIONS = -b | ||
15 | SERVERS = http://gnunet.org:8080/ | ||
16 | # proxy for downloading hostlists | ||
17 | HTTP-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] | ||
2 | SERVICEHOME = /tmp/test-gnunetd-hostlist-peer-1/ | ||
3 | DEFAULTCONFIG = test_gnunet_daemon_hostlist_peer1.conf | ||
4 | |||
5 | [resolver] | ||
6 | PORT = 12964 | ||
7 | |||
8 | [transport] | ||
9 | PORT = 12965 | ||
10 | PLUGINS = tcp | ||
11 | #DEBUG = YES | ||
12 | |||
13 | [arm] | ||
14 | PORT = 12966 | ||
15 | |||
16 | [statistics] | ||
17 | PORT = 12967 | ||
18 | |||
19 | [transport-tcp] | ||
20 | PORT = 12968 | ||
21 | |||
22 | [peerinfo] | ||
23 | PORT = 12969 | ||
24 | |||
25 | [core] | ||
26 | PORT = 12970 | ||
27 | |||
28 | [testing] | ||
29 | WEAKRANDOM = 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] | ||
2 | SERVICEHOME = /tmp/test-gnunetd-hostlist-peer-2/ | ||
3 | DEFAULTCONFIG = test_gnunet_daemon_hostlist_peer2.conf | ||
4 | |||
5 | [resolver] | ||
6 | PORT = 22964 | ||
7 | |||
8 | [transport] | ||
9 | PORT = 22965 | ||
10 | PLUGINS = tcp | ||
11 | #DEBUG = YES | ||
12 | |||
13 | [arm] | ||
14 | PORT = 22966 | ||
15 | |||
16 | [statistics] | ||
17 | PORT = 22967 | ||
18 | |||
19 | [transport-tcp] | ||
20 | PORT = 22968 | ||
21 | |||
22 | [peerinfo] | ||
23 | PORT = 22969 | ||
24 | |||
25 | [core] | ||
26 | PORT = 22970 | ||
27 | |||
28 | [testing] | ||
29 | WEAKRANDOM = YES | ||