diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-05-01 12:44:39 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-05-01 12:44:39 +0200 |
commit | a5e3e870f27c8ef3a3cd5d59a686a3050f9c64fb (patch) | |
tree | 6eec8a07a9a932d3c7b36f196ad01428e4f0ed63 /src/namestore/test_namestore_api_zone_iteration.c | |
parent | 8f2f5bc2ee8ebf9b059b7b7e3104f25c5c363458 (diff) | |
download | gnunet-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.c | 10 |
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, | |||
487 | int | 487 | int |
488 | main (int argc, char *argv[]) | 488 | main (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); |