diff options
Diffstat (limited to 'src/util/test_disk.c')
-rw-r--r-- | src/util/test_disk.c | 6 |
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 | ||