diff options
Diffstat (limited to 'src/hostlist/test_gnunet_daemon_hostlist.c')
-rw-r--r-- | src/hostlist/test_gnunet_daemon_hostlist.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/hostlist/test_gnunet_daemon_hostlist.c b/src/hostlist/test_gnunet_daemon_hostlist.c index eb4a85115..dcdabaf6b 100644 --- a/src/hostlist/test_gnunet_daemon_hostlist.c +++ b/src/hostlist/test_gnunet_daemon_hostlist.c | |||
@@ -265,16 +265,22 @@ main (int argc, char *argv[]) | |||
265 | { | 265 | { |
266 | int ret; | 266 | int ret; |
267 | 267 | ||
268 | GNUNET_DISK_directory_remove ("/tmp/test-gnunet-hostlist-peer-1"); | 268 | GNUNET_DISK_purge_cfg_dir ("test_gnunet_daemon_hostlist_peer1.conf", |
269 | GNUNET_DISK_directory_remove ("/tmp/test-gnunet-hostlist-peer-2"); | 269 | "GNUNET_TEST_HOME"); |
270 | GNUNET_DISK_directory_remove ("/tmp/test-gnunet-hostlist"); | 270 | GNUNET_DISK_purge_cfg_dir ("test_gnunet_daemon_hostlist_peer2.conf", |
271 | "GNUNET_TEST_HOME"); | ||
272 | GNUNET_DISK_purge_cfg_dir ("test_gnunet_daemon_hostlist_data.conf", | ||
273 | "GNUNET_TEST_HOME"); | ||
271 | GNUNET_log_setup ("test-gnunet-daemon-hostlist", | 274 | GNUNET_log_setup ("test-gnunet-daemon-hostlist", |
272 | "WARNING", | 275 | "WARNING", |
273 | NULL); | 276 | NULL); |
274 | ret = check (); | 277 | ret = check (); |
275 | GNUNET_DISK_directory_remove ("/tmp/test-gnunet-hostlist-peer-1"); | 278 | GNUNET_DISK_purge_cfg_dir ("test_gnunet_daemon_hostlist_peer1.conf", |
276 | GNUNET_DISK_directory_remove ("/tmp/test-gnunet-hostlist-peer-2"); | 279 | "GNUNET_TEST_HOME"); |
277 | GNUNET_DISK_directory_remove ("/tmp/test-gnunet-hostlist"); | 280 | GNUNET_DISK_purge_cfg_dir ("test_gnunet_daemon_hostlist_peer2.conf", |
281 | "GNUNET_TEST_HOME"); | ||
282 | GNUNET_DISK_purge_cfg_dir ("test_gnunet_daemon_hostlist_data.conf", | ||
283 | "GNUNET_TEST_HOME"); | ||
278 | return ret; | 284 | return ret; |
279 | } | 285 | } |
280 | 286 | ||