+++ /dev/null
-[PATHS]
-SERVICEHOME = /tmp/test-gnunetd-hostlist-peer-1/
-DEFAULTCONFIG = learning_peer1.conf
-
-[resolver]
-PORT = 12964
-
-[transport]
-PORT = 12965
-PLUGINS = tcp
-DEBUG = YES
-
-[arm]
-PORT = 12966
-DEFAULTSERVICES = resolver transport core statistics topology
-#GLOBAL_PREFIX = xterm -e gdb -x cmd --args
-#DEBUG=NO
-
-[statistics]
-PORT = 12967
-
-[transport-tcp]
-PORT = 12968
-
-[peerinfo]
-PORT = 12969
-
-[core]
-PORT = 12970
-#DEBUG = YES
-#PREFIX = valgrind --tool=memcheck
-
-[testing]
-WEAKRANDOM = YES
-
-[hostlist]
-HTTPPORT = 12980
-SERVERS = http://localhost:12981/
-OPTIONS = -b -p -e -a
-DEBUG = YES
-HOSTLISTFILE = hostlists_peer1.file
-#BINARY = /home/grothoff/bin/gnunet-daemon-hostlist
-
-
-[topology]
-#DEBUG = YES
-#PREFIX = valgrind --tool=memcheck
+++ /dev/null
-[PATHS]
-SERVICEHOME = /tmp/test-gnunetd-hostlist-peer-2/
-DEFAULTCONFIG = learning_peer2.conf
-
-[resolver]
-PORT = 22964
-
-[transport]
-PORT = 22965
-PLUGINS = tcp
-DEBUG = YES
-
-[arm]
-PORT = 22966
-DEFAULTSERVICES = resolver transport core statistics topology
-#GLOBAL_PREFIX = xterm -e gdb -x cmd --args
-#DEBUG=NO
-
-[statistics]
-PORT = 22967
-
-[transport-tcp]
-PORT = 22968
-
-[peerinfo]
-PORT = 22969
-
-[core]
-PORT = 22970
-DEBUG = YES
-#PREFIX = valgrind --tool=memcheck
-
-[testing]
-WEAKRANDOM = YES
-
-[hostlist]
-HTTPPORT = 12981
-SERVERS = http://localhost:12980/
-OPTIONS = -b -p -e -a
-DEBUG = YES
-HOSTLISTFILE = hostlists_peer2.file
-#BINARY = /home/grothoff/bin/gnunet-daemon-hostlist
-
-[topology]
-#DEBUG = YES
-#PREFIX = valgrind --tool=memcheck
ret = check ();
GNUNET_DISK_directory_remove ("/tmp/test-gnunetd-hostlist-peer-1");
GNUNET_DISK_directory_remove ("/tmp/test-gnunetd-hostlist-peer-2");
+ if ( GNUNET_YES == GNUNET_DISK_file_test ("hostlists_learn_peer.file") )
+ {
+ if ( remove ("hostlists_learn_peer.file") == 0)
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ _("Hostlist file hostlists_learn_peer.file was removed\n"));
+ }
return ret;
}
SERVERS = http://localhost:12981/
OPTIONS = -p -a
#OPTIONS = -b -p -a
-DEBUG = YES
+#DEBUG = YES
HOSTLISTFILE = hostlists_adv_peer.file
#BINARY = /home/grothoff/bin/gnunet-daemon-hostlist
SERVERS = http://localhost:12981/
OPTIONS = -b -e
#OPTIONS = -b -p
-DEBUG = YES
+#DEBUG = YES
HOSTLISTFILE = hostlists_learn_peer.file
#BINARY = /home/grothoff/bin/gnunet-daemon-hostlist