aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_zone_iteration.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.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.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);