aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_monitoring_existing.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_monitoring_existing.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_monitoring_existing.c')
-rw-r--r--src/namestore/test_namestore_api_monitoring_existing.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/namestore/test_namestore_api_monitoring_existing.c b/src/namestore/test_namestore_api_monitoring_existing.c
index 374ad44dd..17f726eb1 100644
--- a/src/namestore/test_namestore_api_monitoring_existing.c
+++ b/src/namestore/test_namestore_api_monitoring_existing.c
@@ -368,15 +368,23 @@ run (void *cls,
368int 368int
369main (int argc, char *argv[]) 369main (int argc, char *argv[])
370{ 370{
371 const char *plugin_name;
372 char *cfg_name;
373
374 plugin_name = GNUNET_TESTING_get_testname_from_underscore (argv[0]);
375 GNUNET_asprintf (&cfg_name,
376 "test_namestore_api_%s.conf",
377 plugin_name);
371 res = 1; 378 res = 1;
372 if (0 != 379 if (0 !=
373 GNUNET_TESTING_peer_run ("test-namestore-api-monitoring", 380 GNUNET_TESTING_peer_run ("test-namestore-api-monitoring-existing",
374 "test_namestore_api.conf", 381 cfg_name,
375 &run, 382 &run,
376 NULL)) 383 NULL))
377 { 384 {
378 res = 1; 385 res = 1;
379 } 386 }
387 GNUNET_free (cfg_name);
380 if (NULL != directory) 388 if (NULL != directory)
381 { 389 {
382 GNUNET_DISK_directory_remove (directory); 390 GNUNET_DISK_directory_remove (directory);
@@ -386,4 +394,4 @@ main (int argc, char *argv[])
386} 394}
387 395
388 396
389/* end of test_namestore_api_monitoring.c */ 397/* end of test_namestore_api_monitoring_existing.c */