diff options
author | Willow Liquorice <willow@howhill.com> | 2022-05-29 16:40:28 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-08-21 08:16:29 +0200 |
commit | b26506fd640df98b3bfd70eff230754a1fdee104 (patch) | |
tree | 1979e4fb7ac0fed79a444db78d264b77e8a0f4ea /src/topology/test_gnunet_daemon_topology.c | |
parent | 12bd374fa9456bedfedf2a0e3a77d284b7f80cec (diff) | |
download | gnunet-b26506fd640df98b3bfd70eff230754a1fdee104.tar.gz gnunet-b26506fd640df98b3bfd70eff230754a1fdee104.zip |
-Replaced several hardcoded /tmp locations in tests of CORE, FS, IDENTITY, NAMECHACHE, PT, TOPOLOGY, and TESTBED subsystems
Diffstat (limited to 'src/topology/test_gnunet_daemon_topology.c')
-rw-r--r-- | src/topology/test_gnunet_daemon_topology.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/topology/test_gnunet_daemon_topology.c b/src/topology/test_gnunet_daemon_topology.c index d1081515c..6f9758b09 100644 --- a/src/topology/test_gnunet_daemon_topology.c +++ b/src/topology/test_gnunet_daemon_topology.c | |||
@@ -289,7 +289,9 @@ main (int argc, char *argv[]) | |||
289 | NUM_PEERS, | 289 | NUM_PEERS, |
290 | 0, NULL, NULL, | 290 | 0, NULL, NULL, |
291 | &do_connect, NULL); | 291 | &do_connect, NULL); |
292 | GNUNET_DISK_directory_remove ("/tmp/test-gnunet-topology"); | 292 | GNUNET_DISK_purge_cfg_dir |
293 | ("test_gnunet_daemon_topology_data.conf", | ||
294 | "GNUNET_TEST_HOME"); | ||
293 | 295 | ||
294 | return (GNUNET_OK != result) ? 1 : 0; | 296 | return (GNUNET_OK != result) ? 1 : 0; |
295 | } | 297 | } |