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-125-gefd6b


From: Simon Josefsson
Subject: [SCM] GNU Inetutils branch, master, updated. inetutils-1_9_4-125-gefd6bc4
Date: Mon, 25 Jan 2021 04:23:46 -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  efd6bc4abd7793d15b5539c49ca21afd628adfd5 (commit)
      from  a2c45ab26b9baba4ad17c746bd7f1943263eaf61 (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=efd6bc4abd7793d15b5539c49ca21afd628adfd5


commit efd6bc4abd7793d15b5539c49ca21afd628adfd5
Author: Simon Josefsson <simon@josefsson.org>
Date:   Mon Jan 25 10:23:01 2021 +0100

    Fix hostname.sh to not call system hostname, and improve
    diagnostics.
    
    * tests/hostname.sh: Fix typo.  Improve output on failures.

diff --git a/ChangeLog b/ChangeLog
index 3aaae37..7b4bc9d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2021-01-25  Simon Josefsson  <simon@josefsson.org>
 
+       Fix hostname.sh to not call system hostname, and improve
+       diagnostics.
+
+       * tests/hostname.sh: Fix typo.  Improve output on failures.
+
+2021-01-25  Simon Josefsson  <simon@josefsson.org>
+
        Fix 'make check' on broken platforms without /etc/protocols.
 
        * tests/traceroute-localhost.sh: Skip test if /etc/protocols
diff --git a/tests/hostname.sh b/tests/hostname.sh
index 5bb2b91..70b0606 100755
--- a/tests/hostname.sh
+++ b/tests/hostname.sh
@@ -46,7 +46,7 @@ test $errno -eq 0 || echo "Failed to get hostname." >&2
 test $errno -eq 0 || exit $errno
 
 test `$hostname` = `uname -n` || errno=$?
-test $errno -eq 0 || echo "Failed to get same hostname as uname does." >&2
+test $errno -eq 0 || echo "Failed to get same hostname as uname does 
(`$hostname` vs `uname -n`)." >&2
 test $errno -eq 0 || exit $errno
 
 if test `func_id_uid` != 0; then
@@ -64,7 +64,7 @@ else
 
        trap posttest 0 1 2 3 15
 
-       SAVEDNAME=`hostname` || errno=$?
+       SAVEDNAME=`$hostname` || errno=$?
        echo $SAVEDNAME > $NAMEFILE
 
        if test $errno -eq 0 && test -s $NAMEFILE; then

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

Summary of changes:
 ChangeLog         | 7 +++++++
 tests/hostname.sh | 4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU Inetutils 



reply via email to

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