summaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_zone_iteration.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/test_namestore_api_zone_iteration.c')
-rw-r--r--src/namestore/test_namestore_api_zone_iteration.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/namestore/test_namestore_api_zone_iteration.c b/src/namestore/test_namestore_api_zone_iteration.c
index 1343d42bf..806605d94 100644
--- a/src/namestore/test_namestore_api_zone_iteration.c
+++ b/src/namestore/test_namestore_api_zone_iteration.c
@@ -487,15 +487,23 @@ run (void *cls,
487int 487int
488main (int argc, char *argv[]) 488main (int argc, char *argv[])
489{ 489{
490 const char *plugin_name;
491 char *cfg_name;
492
493 plugin_name = GNUNET_TESTING_get_testname_from_underscore (argv[0]);
494 GNUNET_asprintf (&cfg_name,
495 "test_namestore_api_%s.conf",
496 plugin_name);
490 res = 1; 497 res = 1;
491 if (0 != 498 if (0 !=
492 GNUNET_TESTING_peer_run ("test-namestore-api-zone-iteration", 499 GNUNET_TESTING_peer_run ("test-namestore-api-zone-iteration",
493 "test_namestore_api.conf", 500 cfg_name,
494 &run, 501 &run,
495 NULL)) 502 NULL))
496 { 503 {
497 res = 1; 504 res = 1;
498 } 505 }
506 GNUNET_free (cfg_name);
499 if (NULL != directory) 507 if (NULL != directory)
500 { 508 {
501 GNUNET_DISK_directory_remove (directory); 509 GNUNET_DISK_directory_remove (directory);