gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] 02/11: Hostlist: Added test config to have a peer running the h


From: gnunet
Subject: [gnunet] 02/11: Hostlist: Added test config to have a peer running the hostlist server.
Date: Wed, 18 Oct 2023 15:49:31 +0200

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

t3sserakt pushed a commit to branch master
in repository gnunet.

commit 3c761cdd07212d0e41843e8e47e59cc264356c0d
Author: t3sserakt <t3ss@posteo.de>
AuthorDate: Wed Oct 18 13:31:39 2023 +0200

    Hostlist: Added test config to have a peer running the hostlist server.
---
 src/core/test_core_plugin_cmd_just_run.c | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/src/core/test_core_plugin_cmd_just_run.c 
b/src/core/test_core_plugin_cmd_just_run.c
index 176d055c8..04b65607d 100644
--- a/src/core/test_core_plugin_cmd_just_run.c
+++ b/src/core/test_core_plugin_cmd_just_run.c
@@ -391,8 +391,20 @@ start_testcase (GNUNET_TESTING_cmd_helper_write_cb 
write_message,
     write_message);
 
 
-  GNUNET_asprintf (&ts->cfgname,
+  if (1 == m_int)
+  {
+    LOG (GNUNET_ERROR_TYPE_DEBUG,
+         "m_int %u should be 1\n");
+    GNUNET_asprintf (&ts->cfgname,
+                     "test_core_just_run_host.conf");
+  }
+  else
+  {
+    LOG (GNUNET_ERROR_TYPE_DEBUG,
+         "m_int %u should not be 1\n");
+    GNUNET_asprintf (&ts->cfgname,
                    "test_core_just_run.conf");
+  }
 
   LOG (GNUNET_ERROR_TYPE_DEBUG,
        "plugin cfgname: %s\n",

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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