diff options
Diffstat (limited to 'src/namestore/test_namestore_api_zone_iteration_stop.c')
-rw-r--r-- | src/namestore/test_namestore_api_zone_iteration_stop.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/namestore/test_namestore_api_zone_iteration_stop.c b/src/namestore/test_namestore_api_zone_iteration_stop.c index d23a5f4cb..c7be5fead 100644 --- a/src/namestore/test_namestore_api_zone_iteration_stop.c +++ b/src/namestore/test_namestore_api_zone_iteration_stop.c | |||
@@ -508,15 +508,23 @@ run (void *cls, | |||
508 | int | 508 | int |
509 | main (int argc, char *argv[]) | 509 | main (int argc, char *argv[]) |
510 | { | 510 | { |
511 | const char *plugin_name; | ||
512 | char *cfg_name; | ||
513 | |||
514 | plugin_name = GNUNET_TESTING_get_testname_from_underscore (argv[0]); | ||
515 | GNUNET_asprintf (&cfg_name, | ||
516 | "test_namestore_api_%s.conf", | ||
517 | plugin_name); | ||
511 | res = 1; | 518 | res = 1; |
512 | if (0 != | 519 | if (0 != |
513 | GNUNET_TESTING_peer_run ("test-namestore-api-zone-iteration-stop", | 520 | GNUNET_TESTING_peer_run ("test-namestore-api-zone-iteration-stop", |
514 | "test_namestore_api.conf", | 521 | cfg_name, |
515 | &run, | 522 | &run, |
516 | NULL)) | 523 | NULL)) |
517 | { | 524 | { |
518 | res = 1; | 525 | res = 1; |
519 | } | 526 | } |
527 | GNUNET_free (cfg_name); | ||
520 | if (NULL != directory) | 528 | if (NULL != directory) |
521 | { | 529 | { |
522 | GNUNET_DISK_directory_remove (directory); | 530 | GNUNET_DISK_directory_remove (directory); |