gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: avoid failing hard if 'gnun


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: avoid failing hard if 'gnunetcheck' db does not exist (or plugins cannot be loaded for other reasons)
Date: Sun, 24 Feb 2019 12:44:02 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new c1f87d457 avoid failing hard if 'gnunetcheck' db does not exist  (or 
plugins cannot be loaded for other reasons)
c1f87d457 is described below

commit c1f87d457fa51d9d85f5b35f808b802fa14088bb
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Feb 24 12:43:46 2019 +0100

    avoid failing hard if 'gnunetcheck' db does not exist
     (or plugins cannot be loaded for other reasons)
---
 src/namestore/test_namestore_api_zone_iteration_nick.c | 10 ++++------
 1 file 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,
 }
 
 
+#include "test_common.c"
+
+
 int
 main (int argc, char *argv[])
 {
   const char *plugin_name;
   char *cfg_name;
 
-  plugin_name = GNUNET_TESTING_get_testname_from_underscore (argv[0]);
-  GNUNET_asprintf (&cfg_name,
-                   "test_namestore_api_%s.conf",
-                   plugin_name);
+  SETUP_CFG (plugin_name, cfg_name);
   res = 1;
-  GNUNET_DISK_purge_cfg_dir (cfg_name,
-                             "GNUNET_TEST_HOME");
   if (0 !=
       GNUNET_TESTING_peer_run ("test-namestore-api-zone-iteration-nick",
                                cfg_name,

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]