aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_disk.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-09-28 21:34:11 +0000
committerChristian Grothoff <christian@grothoff.org>2009-09-28 21:34:11 +0000
commitd44fc929558cd9cbe3c94d057f0a2711a383b85c (patch)
tree01e2cab0cc52a26a5e6c4e9c9605e3fc58c21d96 /src/util/test_disk.c
parentaf0734675260188d113f83e4197a647b55384804 (diff)
downloadgnunet-d44fc929558cd9cbe3c94d057f0a2711a383b85c.tar.gz
gnunet-d44fc929558cd9cbe3c94d057f0a2711a383b85c.zip
clean up afterwards
Diffstat (limited to 'src/util/test_disk.c')
-rw-r--r--src/util/test_disk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/test_disk.c b/src/util/test_disk.c
index dd41c53c0..705a24abf 100644
--- a/src/util/test_disk.c
+++ b/src/util/test_disk.c
@@ -197,13 +197,13 @@ testGetHome ()
197 cfg = GNUNET_CONFIGURATION_create (); 197 cfg = GNUNET_CONFIGURATION_create ();
198 GNUNET_assert (cfg != NULL); 198 GNUNET_assert (cfg != NULL);
199 GNUNET_CONFIGURATION_set_value_string (cfg, "service", "HOME", 199 GNUNET_CONFIGURATION_set_value_string (cfg, "service", "HOME",
200 "/tmp/a/b/c"); 200 "/tmp/test-gnunet-disk-a/b/c");
201 fn = GNUNET_DISK_get_home_filename (cfg, "service", "d", "e", NULL); 201 fn = GNUNET_DISK_get_home_filename (cfg, "service", "d", "e", NULL);
202 GNUNET_assert (fn != NULL); 202 GNUNET_assert (fn != NULL);
203 GNUNET_CONFIGURATION_destroy (cfg); 203 GNUNET_CONFIGURATION_destroy (cfg);
204 ret = strcmp ("/tmp/a/b/c/d/e", fn); 204 ret = strcmp ("/tmp/test-gnunet-disk-a/b/c/d/e", fn);
205 GNUNET_free (fn); 205 GNUNET_free (fn);
206 GNUNET_DISK_directory_remove ("/tmp/a"); 206 GNUNET_DISK_directory_remove ("/tmp/test-gnunet-disk-a");
207 return ret; 207 return ret;
208} 208}
209 209