aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_zone_iteration_specific_zone.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-05-01 12:44:39 +0200
committerChristian Grothoff <christian@grothoff.org>2018-05-01 12:44:39 +0200
commita5e3e870f27c8ef3a3cd5d59a686a3050f9c64fb (patch)
tree6eec8a07a9a932d3c7b36f196ad01428e4f0ed63 /src/namestore/test_namestore_api_zone_iteration_specific_zone.c
parent8f2f5bc2ee8ebf9b059b7b7e3104f25c5c363458 (diff)
downloadgnunet-a5e3e870f27c8ef3a3cd5d59a686a3050f9c64fb.tar.gz
gnunet-a5e3e870f27c8ef3a3cd5d59a686a3050f9c64fb.zip
more extensive namestore tests for the non-sqlite plugins, with bugfixes
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.c12
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,
485int 485int
486main (int argc, char *argv[]) 486main (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);