check_PROGRAMS = \
test_gnunet_daemon_hostlist
-TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
+# TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
test_gnunet_daemon_hostlist_SOURCES = \
test_gnunet_daemon_hostlist.c
$(top_builddir)/src/util/libgnunetutil.la
EXTRA_DIST = \
+ test_gnunet_daemon_hostlist_data.conf \
test_gnunet_daemon_hostlist_data_peer1.conf \
test_gnunet_daemon_hostlist_data_peer2.conf
check ()
{
char *const argv[] = { "test-gnunet-daemon-hostlist",
- "-c", "test_gnunet_daemon_hostlist.conf",
+ "-c", "test_gnunet_daemon_hostlist_data.conf",
#if VERBOSE
"-L", "DEBUG",
#endif
--- /dev/null
+[PATHS]
+SERVICEHOME = /tmp/test-gnunetd-hostlist/
+DEFAULTCONFIG = /etc/gnunetd.conf
+
+[hostlist]
+PORT = 23354
+# port for hostlist http server
+HTTPPORT = 28080
+HOSTNAME = localhost
+HOME = $SERVICEHOME
+CONFIG = $DEFAULTCONFIG
+BINARY = gnunet-daemon-hostlist
+# consider having "-e" as default as well once implemented
+OPTIONS = -b
+SERVERS = http://gnunet.org:8080/
+# proxy for downloading hostlists
+HTTP-PROXY =
\ No newline at end of file
--- /dev/null
+[PATHS]
+SERVICEHOME = /tmp/test-gnunetd-hostlist-peer-1/
+DEFAULTCONFIG = test_gnunet_daemon_hostlist_peer1.conf
+
+[resolver]
+PORT = 12964
+
+[transport]
+PORT = 12965
+PLUGINS = tcp
+#DEBUG = YES
+
+[arm]
+PORT = 12966
+
+[statistics]
+PORT = 12967
+
+[transport-tcp]
+PORT = 12968
+
+[peerinfo]
+PORT = 12969
+
+[core]
+PORT = 12970
+
+[testing]
+WEAKRANDOM = YES
--- /dev/null
+[PATHS]
+SERVICEHOME = /tmp/test-gnunetd-hostlist-peer-2/
+DEFAULTCONFIG = test_gnunet_daemon_hostlist_peer2.conf
+
+[resolver]
+PORT = 22964
+
+[transport]
+PORT = 22965
+PLUGINS = tcp
+#DEBUG = YES
+
+[arm]
+PORT = 22966
+
+[statistics]
+PORT = 22967
+
+[transport-tcp]
+PORT = 22968
+
+[peerinfo]
+PORT = 22969
+
+[core]
+PORT = 22970
+
+[testing]
+WEAKRANDOM = YES