added lookup test + fix in test
[oweals/gnunet.git] / src / namestore / test_namestore_api_zone_iteration.c
index f7e4fe4891caec04d0f10274c481c684fd13d633..7ff21a39d11a4870f2fb09ca9ea3bbb390c4f413 100644 (file)
@@ -440,12 +440,12 @@ int
 main (int argc, char *argv[])
 {
   res = 1;
+  GNUNET_DISK_directory_remove ("/tmp/test-gnunet-namestore");
   if (0 !=
-      GNUNET_TESTING_service_run ("test-namestore-api-zone-iteration",
-                                 "namestore",
-                                 "test_namestore_api.conf",
-                                 &run,
-                                 NULL))
+      GNUNET_TESTING_peer_run ("test-namestore-api-zone-iteration",
+                               "test_namestore_api.conf",
+                               &run,
+                               NULL))
     return 1;
   return res;
 }