diff options
Diffstat (limited to 'src/namestore/test_namestore_api_zone_iteration_specific_zone.c')
-rw-r--r-- | src/namestore/test_namestore_api_zone_iteration_specific_zone.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/namestore/test_namestore_api_zone_iteration_specific_zone.c b/src/namestore/test_namestore_api_zone_iteration_specific_zone.c index d222bf16c..a4fb320e9 100644 --- a/src/namestore/test_namestore_api_zone_iteration_specific_zone.c +++ b/src/namestore/test_namestore_api_zone_iteration_specific_zone.c | |||
@@ -485,15 +485,23 @@ run (void *cls, | |||
485 | int | 485 | int |
486 | main (int argc, char *argv[]) | 486 | main (int argc, char *argv[]) |
487 | { | 487 | { |
488 | const char *plugin_name; | ||
489 | char *cfg_name; | ||
490 | |||
491 | plugin_name = GNUNET_TESTING_get_testname_from_underscore (argv[0]); | ||
492 | GNUNET_asprintf (&cfg_name, | ||
493 | "test_namestore_api_%s.conf", | ||
494 | plugin_name); | ||
488 | res = 1; | 495 | res = 1; |
489 | if (0 != | 496 | if (0 != |
490 | GNUNET_TESTING_peer_run ("test-namestore-api-zone-iteration", | 497 | GNUNET_TESTING_peer_run ("test-namestore-api-zone-iteration-specific-zone", |
491 | "test_namestore_api.conf", | 498 | cfg_name, |
492 | &run, | 499 | &run, |
493 | NULL)) | 500 | NULL)) |
494 | { | 501 | { |
495 | res = 1; | 502 | res = 1; |
496 | } | 503 | } |
504 | GNUNET_free (cfg_name); | ||
497 | if (NULL != directory) | 505 | if (NULL != directory) |
498 | { | 506 | { |
499 | GNUNET_DISK_directory_remove (directory); | 507 | GNUNET_DISK_directory_remove (directory); |