From: Christian Grothoff Date: Mon, 26 Oct 2009 12:03:02 +0000 (+0000) Subject: delete correct dir X-Git-Tag: initial-import-from-subversion-38251~23223 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a348589a3aadbb3286ba364fc0d6a25d52726468;p=oweals%2Fgnunet.git delete correct dir --- diff --git a/src/fs/test_fs_directory.c b/src/fs/test_fs_directory.c index 35a2f4849..d1ef263ed 100644 --- a/src/fs/test_fs_directory.c +++ b/src/fs/test_fs_directory.c @@ -106,6 +106,7 @@ testDirectory (unsigned int i) sizeof(uri), "gnunet://fs/chk/C282GG70GKK41O4551011DO413KFBVTVMQG1OG30I0K4045N0G41HAPB82G680A02JRVVFO8URVRU2F159011DO41000000022RG820.RNVVVVOOLCLK065B5D04HTNVNSIB2AI022RG8200HSLK1CO1000ATQ98824DMA2032LIMG50CG0K057NVUVG200000H000004400000.%u", p); + emsg = NULL; uris[p] = GNUNET_FS_uri_parse (uri, &emsg); if (uris[p] == NULL) { @@ -121,6 +122,7 @@ testDirectory (unsigned int i) GNUNET_CONTAINER_meta_data_destroy (meta); ABORT (); /* error in testcase */ } + GNUNET_assert (emsg == NULL); } start = GNUNET_TIME_absolute_get (); db = GNUNET_FS_directory_builder_create (meta); diff --git a/src/fs/test_fs_list_indexed.c b/src/fs/test_fs_list_indexed.c index 6044e6955..469280445 100644 --- a/src/fs/test_fs_list_indexed.c +++ b/src/fs/test_fs_list_indexed.c @@ -347,7 +347,7 @@ main (int argc, char *argv[]) argvx, "test-fs-list_indexed", "nohelp", options, &run, NULL); stop_arm (&p1); - GNUNET_DISK_directory_remove ("/tmp/gnunet-test-fs-list_indexed/"); + GNUNET_DISK_directory_remove ("/tmp/gnunet-test-fs-list-indexed/"); GNUNET_DISK_directory_remove (fn1); GNUNET_free_non_null (fn1); GNUNET_DISK_directory_remove (fn2);