diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/namestore/test_namestore_api_zone_to_name.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/namestore/test_namestore_api_zone_to_name.c b/src/namestore/test_namestore_api_zone_to_name.c index 70abb9bb2..5d6444145 100644 --- a/src/namestore/test_namestore_api_zone_to_name.c +++ b/src/namestore/test_namestore_api_zone_to_name.c | |||
@@ -240,6 +240,9 @@ run (void *cls, | |||
240 | } | 240 | } |
241 | 241 | ||
242 | 242 | ||
243 | #include "test_common.c" | ||
244 | |||
245 | |||
243 | int | 246 | int |
244 | main (int argc, | 247 | main (int argc, |
245 | char *argv[]) | 248 | char *argv[]) |
@@ -248,12 +251,7 @@ main (int argc, | |||
248 | char *cfg_name; | 251 | char *cfg_name; |
249 | 252 | ||
250 | (void) argc; | 253 | (void) argc; |
251 | plugin_name = GNUNET_TESTING_get_testname_from_underscore (argv[0]); | 254 | SETUP_CFG (plugin_name, cfg_name); |
252 | GNUNET_asprintf (&cfg_name, | ||
253 | "test_namestore_api_%s.conf", | ||
254 | plugin_name); | ||
255 | GNUNET_DISK_purge_cfg_dir (cfg_name, | ||
256 | "GNUNET_TEST_HOME"); | ||
257 | res = 1; | 255 | res = 1; |
258 | if (0 != | 256 | if (0 != |
259 | GNUNET_TESTING_peer_run ("test-namestore-api-zone-to-name", | 257 | GNUNET_TESTING_peer_run ("test-namestore-api-zone-to-name", |