[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 02/02: more code cleanup, better error handing in
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 02/02: more code cleanup, better error handing in tests |
Date: |
Sun, 24 Feb 2019 13:10:41 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
commit 8fe30a808b12159162d5ecebbba040d976fe91fd
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Feb 24 13:10:35 2019 +0100
more code cleanup, better error handing in tests
---
src/namestore/test_namestore_api_zone_to_name.c | 10 ++++------
1 file 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,
}
+#include "test_common.c"
+
+
int
main (int argc,
char *argv[])
@@ -248,12 +251,7 @@ main (int argc,
char *cfg_name;
(void) argc;
- plugin_name = GNUNET_TESTING_get_testname_from_underscore (argv[0]);
- GNUNET_asprintf (&cfg_name,
- "test_namestore_api_%s.conf",
- plugin_name);
- GNUNET_DISK_purge_cfg_dir (cfg_name,
- "GNUNET_TEST_HOME");
+ SETUP_CFG (plugin_name, cfg_name);
res = 1;
if (0 !=
GNUNET_TESTING_peer_run ("test-namestore-api-zone-to-name",
--
To stop receiving notification emails like this one, please contact
address@hidden