diff options
Diffstat (limited to 'src/namestore/test_namestore_api_remove.c')
-rw-r--r-- | src/namestore/test_namestore_api_remove.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/namestore/test_namestore_api_remove.c b/src/namestore/test_namestore_api_remove.c index 02c2672aa..4c3d55efc 100644 --- a/src/namestore/test_namestore_api_remove.c +++ b/src/namestore/test_namestore_api_remove.c | |||
@@ -197,18 +197,16 @@ run (void *cls, | |||
197 | } | 197 | } |
198 | 198 | ||
199 | 199 | ||
200 | #include "test_common.c" | ||
201 | |||
202 | |||
200 | int | 203 | int |
201 | main (int argc, char *argv[]) | 204 | main (int argc, char *argv[]) |
202 | { | 205 | { |
203 | const char *plugin_name; | 206 | const char *plugin_name; |
204 | char *cfg_name; | 207 | char *cfg_name; |
205 | 208 | ||
206 | plugin_name = GNUNET_TESTING_get_testname_from_underscore (argv[0]); | 209 | SETUP_CFG (plugin_name, cfg_name); |
207 | GNUNET_asprintf (&cfg_name, | ||
208 | "test_namestore_api_%s.conf", | ||
209 | plugin_name); | ||
210 | GNUNET_DISK_purge_cfg_dir (cfg_name, | ||
211 | "GNUNET_TEST_HOME"); | ||
212 | res = 1; | 210 | res = 1; |
213 | if (0 != | 211 | if (0 != |
214 | GNUNET_TESTING_peer_run ("test-namestore-api-remove", | 212 | GNUNET_TESTING_peer_run ("test-namestore-api-remove", |