clean up afterwards
authorChristian Grothoff <christian@grothoff.org>
Mon, 28 Sep 2009 21:34:11 +0000 (21:34 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 28 Sep 2009 21:34:11 +0000 (21:34 +0000)
src/util/test_disk.c

index dd41c53c02d851a309af6fd1fd3efcd54f1ccb6f..705a24abfd3424c375d1678ef2909c10d6c56d2b 100644 (file)
@@ -197,13 +197,13 @@ testGetHome ()
   cfg = GNUNET_CONFIGURATION_create ();
   GNUNET_assert (cfg != NULL);
   GNUNET_CONFIGURATION_set_value_string (cfg, "service", "HOME",
-                                         "/tmp/a/b/c");
+                                         "/tmp/test-gnunet-disk-a/b/c");
   fn = GNUNET_DISK_get_home_filename (cfg, "service", "d", "e", NULL);
   GNUNET_assert (fn != NULL);
   GNUNET_CONFIGURATION_destroy (cfg);
-  ret = strcmp ("/tmp/a/b/c/d/e", fn);
+  ret = strcmp ("/tmp/test-gnunet-disk-a/b/c/d/e", fn);
   GNUNET_free (fn);
-  GNUNET_DISK_directory_remove ("/tmp/a");
+  GNUNET_DISK_directory_remove ("/tmp/test-gnunet-disk-a");
   return ret;
 }