diff options
Diffstat (limited to 'src/namestore/test_namestore_api_monitoring_existing.c')
-rw-r--r-- | src/namestore/test_namestore_api_monitoring_existing.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/namestore/test_namestore_api_monitoring_existing.c b/src/namestore/test_namestore_api_monitoring_existing.c index f6ec01ffc..64bfb6949 100644 --- a/src/namestore/test_namestore_api_monitoring_existing.c +++ b/src/namestore/test_namestore_api_monitoring_existing.c | |||
@@ -376,6 +376,9 @@ run (void *cls, | |||
376 | } | 376 | } |
377 | 377 | ||
378 | 378 | ||
379 | #include "test_common.c" | ||
380 | |||
381 | |||
379 | int | 382 | int |
380 | main (int argc, | 383 | main (int argc, |
381 | char *argv[]) | 384 | char *argv[]) |
@@ -383,13 +386,8 @@ main (int argc, | |||
383 | const char *plugin_name; | 386 | const char *plugin_name; |
384 | char *cfg_name; | 387 | char *cfg_name; |
385 | 388 | ||
386 | plugin_name = GNUNET_TESTING_get_testname_from_underscore (argv[0]); | 389 | SETUP_CFG (plugin_name, cfg_name); |
387 | GNUNET_asprintf (&cfg_name, | ||
388 | "test_namestore_api_%s.conf", | ||
389 | plugin_name); | ||
390 | res = 1; | 390 | res = 1; |
391 | GNUNET_DISK_purge_cfg_dir (cfg_name, | ||
392 | "GNUNET_TEST_HOME"); | ||
393 | if (0 != | 391 | if (0 != |
394 | GNUNET_TESTING_peer_run ("test-namestore-api-monitoring-existing", | 392 | GNUNET_TESTING_peer_run ("test-namestore-api-monitoring-existing", |
395 | cfg_name, | 393 | cfg_name, |