adding configure code for --enable-benchmarks, --enable-expensive-tests, some clean up
[oweals/gnunet.git] / src / datastore / test_plugin_datastore.c
index f0961f51e24259439aa07b7fd5c355f0b4cc6379..eb6cac7dd1decae1f4d3afd9efa8261289aa0f67 100644 (file)
@@ -434,6 +434,7 @@ main (int argc, char *argv[])
   char *pos;
   char dir_name[128];
 
+  sleep (1);
   /* determine name of plugin to use */
   plugin_name = argv[0];
   while (NULL != (pos = strstr(plugin_name, "_")))
@@ -445,7 +446,7 @@ main (int argc, char *argv[])
 
   GNUNET_snprintf (dir_name,
                   sizeof (dir_name),
-                  "/tmp/test-gnunet-datastore-%s",
+                  "/tmp/test-gnunet-datastore-plugin-%s",
                   plugin_name);
   GNUNET_DISK_directory_remove (dir_name);
   GNUNET_log_setup ("test-plugin-datastore",