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_2-61-g434c5c


From: Mats Erik Andersson
Subject: [SCM] GNU Inetutils branch, master, updated. inetutils-1_9_2-61-g434c5ce
Date: Thu, 02 Apr 2015 12:36:57 +0000

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  434c5ce5e0242af677e44e31fb7e39e9d832bc91 (commit)
      from  ae6b5b5f5c134e710fb45e20ea7ff8b3da10c030 (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=434c5ce5e0242af677e44e31fb7e39e9d832bc91


commit 434c5ce5e0242af677e44e31fb7e39e9d832bc91
Author: Mats Erik Andersson <address@hidden>
Date:   Thu Apr 2 14:36:04 2015 +0200

    Testing of inetd service.
    
    Display configuration when the SIGHUP test fails.

diff --git a/ChangeLog b/ChangeLog
index f93388a..7a3dde8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2015-04-02  Mats Erik Andersson  <address@hidden>
+
+       Testing of inetd service.
+
+       * tests/inetd.sh: In verbose mode, report the value of USER.
+       Include a printout of the configuration file when the SIGHUP
+       test loop fails.
+
 2015-03-31  Alfred M. Szmidt  <address@hidden>
 
        * doc/inetutils.texi: Re-order chapters.
diff --git a/tests/inetd.sh b/tests/inetd.sh
index 7671fa5..ab51945 100755
--- a/tests/inetd.sh
+++ b/tests/inetd.sh
@@ -70,6 +70,9 @@ if test -n "$VERBOSE"; then
     $INETD --version | $SED '1q'
 fi
 
+# The value of USER is vital to the test configuration.
+$silence echo "Running test as user $USER."
+
 # For file creation below IU_TESTDIR.
 umask 0077
 
@@ -146,7 +149,14 @@ else
            grep "Your address is $TARGET." >/dev/null 2>&1 || errno=1
 
        test $errno -eq 0 ||
-           { echo >&2 "Repetition $nn failed."; break; }
+           { cat >&2 <<-EOT
+               *** Repetition $nn of SIGHUP test has failed. ***
+               Configuration file:
+               ##### $CONF
+               `cat $CONF`
+               ###########
+               EOT
+             break; }
 
        # Update with new port for next round.
        PORT=`expr $PORT + 1 + ${RANDOM:-$$} % 521`

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

Summary of changes:
 ChangeLog      |    8 ++++++++
 tests/inetd.sh |   12 +++++++++++-
 2 files changed, 19 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU Inetutils 



reply via email to

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