aboutsummaryrefslogtreecommitdiff
path: root/src/namestore
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore')
-rw-r--r--src/namestore/test_namestore_api_remove_not_existing_record.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/namestore/test_namestore_api_remove_not_existing_record.c b/src/namestore/test_namestore_api_remove_not_existing_record.c
index fdbe9390f..c8110fe6b 100644
--- a/src/namestore/test_namestore_api_remove_not_existing_record.c
+++ b/src/namestore/test_namestore_api_remove_not_existing_record.c
@@ -152,18 +152,16 @@ run (void *cls,
152} 152}
153 153
154 154
155#include "test_common.c"
156
157
155int 158int
156main (int argc, char *argv[]) 159main (int argc, char *argv[])
157{ 160{
158 const char *plugin_name; 161 const char *plugin_name;
159 char *cfg_name; 162 char *cfg_name;
160 163
161 plugin_name = GNUNET_TESTING_get_testname_from_underscore (argv[0]); 164 SETUP_CFG (plugin_name, cfg_name);
162 GNUNET_asprintf (&cfg_name,
163 "test_namestore_api_%s.conf",
164 plugin_name);
165 GNUNET_DISK_purge_cfg_dir (cfg_name,
166 "GNUNET_TEST_HOME");
167 res = 1; 165 res = 1;
168 if (0 != 166 if (0 !=
169 GNUNET_TESTING_peer_run ("test-namestore-api-remove-non-existing-record", 167 GNUNET_TESTING_peer_run ("test-namestore-api-remove-non-existing-record",