commit-inetutils
[Top][All Lists]
Advanced

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

[SCM] GNU Inetutils branch, master, updated. inetutils-1_9_4-64-g4b709d


From: Mats Erik Andersson
Subject: [SCM] GNU Inetutils branch, master, updated. inetutils-1_9_4-64-g4b709d0
Date: Fri, 24 Jan 2020 17:26:43 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Inetutils ".

The branch, master has been updated
       via  4b709d0ab1dc39e1f11026dfb6d5ef8c94188383 (commit)
      from  44e30cc781291c81cd8fff88fb629383f7a49385 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=4b709d0ab1dc39e1f11026dfb6d5ef8c94188383


commit 4b709d0ab1dc39e1f11026dfb6d5ef8c94188383
Author: Mats Erik Andersson <address@hidden>
Date:   Fri Jan 24 23:25:12 2020 +0100

    runtime-ipv6: Implicit dependency on services file.
    
    Use numerical port for less dependency in chrooted situations.

diff --git a/ChangeLog b/ChangeLog
index a7f5f2b..e772da4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2020-01-24  Mats Erik Andersson  <address@hidden>
 
+       runtime-ipv6: Implicit dependency on services file.
+       In a chrooted test environment, access to a particular
+       resource like /etc/services, need not be granted.
+
+       * tests/runtime-ipv6.c: Replace symbolic service name `tftp'
+       by a numerical and harmless port string.
+
+2020-01-24  Mats Erik Andersson  <address@hidden>
+
        Separation of test cases according to IPv4, and to IPv6.
        The two precious macros TEST_IPV4 and TEST_IPV6 are controlling
        whether the indicated address family is checked in our tests.
diff --git a/tests/runtime-ipv6.c b/tests/runtime-ipv6.c
index 3852556..2f4e128 100644
--- a/tests/runtime-ipv6.c
+++ b/tests/runtime-ipv6.c
@@ -18,14 +18,16 @@
 
 /* Written by Mats Erik Andersson.  */
 
-/* Runtime-ipv6 determines whether IPv6 address ::1 can be selected.
+/* Runtime-ipv6 determines by default whether IPv6 address ::1 can
+ * be selected.  The switch `-6' is identical, whereas `-4' probes
+ * for 127.0.0.1.
  *
  * Invocation:
  *
- *   runtime-ipv6
+ *   runtime-ipv6 [-4] [-6]
  *
  * Return value is 0 (zero) when successful, otherwise -1.
- * On failure a message is printed to stderr: `IPv6 disabled in system'.
+ * On failure a message is printed to stderr: `IPv# disabled in system'.
  */
 
 #include <config.h>
@@ -111,7 +113,7 @@ main (int argc, char *argv[])
   hints.ai_flags |= AI_ADDRCONFIG;
 #endif
 
-  err = getaddrinfo (tested_localhost, "tftp", &hints, &aiptr);
+  err = getaddrinfo (tested_localhost, "1237", &hints, &aiptr);
   if (!err)
     {
       /* Should not really happen.  */

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog            |  9 +++++++++
 tests/runtime-ipv6.c | 10 ++++++----
 2 files changed, 15 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
GNU Inetutils 



reply via email to

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