From 2032baa561c7fefbe2605f5d6b979a295a61637d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 9 Oct 2013 10:05:42 +0000 Subject: migrating towards XDG configuration specification (#3000) --- src/util/test_disk.c | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/util/test_disk.c') diff --git a/src/util/test_disk.c b/src/util/test_disk.c index 7579ac7dc..40e6b079c 100644 --- a/src/util/test_disk.c +++ b/src/util/test_disk.c @@ -168,27 +168,6 @@ testDirIter () } -static int -testGetHome () -{ - struct GNUNET_CONFIGURATION_Handle *cfg; - char *fn; - int ret; - - cfg = GNUNET_CONFIGURATION_create (); - GNUNET_assert (cfg != NULL); - GNUNET_CONFIGURATION_set_value_string (cfg, "service", "HOME", - "/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/test-gnunet-disk-a/b/c/d/e", fn); - GNUNET_free (fn); - GNUNET_break (GNUNET_OK == - GNUNET_DISK_directory_remove ("/tmp/test-gnunet-disk-a")); - return ret; -} - static int testCanonicalize () { @@ -246,7 +225,6 @@ main (int argc, char *argv[]) failureCount += testOpenClose (); failureCount += testDirScan (); failureCount += testDirIter (); - failureCount += testGetHome (); failureCount += testCanonicalize (); failureCount += testChangeOwner (); failureCount += testDirMani (); -- cgit v1.2.3