diff options
Diffstat (limited to 'src/namestore/test_namestore_api_zone_iteration_nick.c')
-rw-r--r-- | src/namestore/test_namestore_api_zone_iteration_nick.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/namestore/test_namestore_api_zone_iteration_nick.c b/src/namestore/test_namestore_api_zone_iteration_nick.c index 867f5acae..088422ca3 100644 --- a/src/namestore/test_namestore_api_zone_iteration_nick.c +++ b/src/namestore/test_namestore_api_zone_iteration_nick.c | |||
@@ -480,19 +480,17 @@ run (void *cls, | |||
480 | } | 480 | } |
481 | 481 | ||
482 | 482 | ||
483 | #include "test_common.c" | ||
484 | |||
485 | |||
483 | int | 486 | int |
484 | main (int argc, char *argv[]) | 487 | main (int argc, char *argv[]) |
485 | { | 488 | { |
486 | const char *plugin_name; | 489 | const char *plugin_name; |
487 | char *cfg_name; | 490 | char *cfg_name; |
488 | 491 | ||
489 | plugin_name = GNUNET_TESTING_get_testname_from_underscore (argv[0]); | 492 | SETUP_CFG (plugin_name, cfg_name); |
490 | GNUNET_asprintf (&cfg_name, | ||
491 | "test_namestore_api_%s.conf", | ||
492 | plugin_name); | ||
493 | res = 1; | 493 | res = 1; |
494 | GNUNET_DISK_purge_cfg_dir (cfg_name, | ||
495 | "GNUNET_TEST_HOME"); | ||
496 | if (0 != | 494 | if (0 != |
497 | GNUNET_TESTING_peer_run ("test-namestore-api-zone-iteration-nick", | 495 | GNUNET_TESTING_peer_run ("test-namestore-api-zone-iteration-nick", |
498 | cfg_name, | 496 | cfg_name, |