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_1-322-ga936e


From: Mats Erik Andersson
Subject: [SCM] GNU Inetutils branch, master, updated. inetutils-1_9_1-322-ga936ebb
Date: Thu, 15 Aug 2013 20:27:08 +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  a936ebb7251ca745673a5cdd518eb48ef2903f21 (commit)
      from  a1b9dbff1bd4b634716ed01996fa1e8577bea354 (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=a936ebb7251ca745673a5cdd518eb48ef2903f21


commit a936ebb7251ca745673a5cdd518eb48ef2903f21
Author: Mats Erik Andersson <address@hidden>
Date:   Thu Aug 15 22:24:48 2013 +0200

    Needing tty for inetd test.

diff --git a/ChangeLog b/ChangeLog
index 5594da0..0ca59dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2013-08-15  Mats Erik Andersson  <address@hidden>
 
+       * tests/inetd.sh: Skip test in absence of assigned TTY.
+       This is needed due to the use of a built `telnet'.
+
+2013-08-15  Mats Erik Andersson  <address@hidden>
+
        * tests/inetd.sh (write_conf): Use numerical address
        for localhost.  This avoids dependency on system set-up.
 
diff --git a/tests/inetd.sh b/tests/inetd.sh
index e16f9a5..b452ad0 100755
--- a/tests/inetd.sh
+++ b/tests/inetd.sh
@@ -67,6 +67,14 @@ if test -n "$VERBOSE"; then
     $INETD --version | $SED '1q'
 fi
 
+# The use of telnet is portable only with a connected TTY.
+if tty >/dev/null; then
+    :
+else
+    echo >&2 'No TTY is assigned to this process.  Skipping test.'
+    exit 77
+fi
+
 # For file creation below IU_TESTDIR.
 umask 0077
 

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

Summary of changes:
 ChangeLog      |    5 +++++
 tests/inetd.sh |    8 ++++++++
 2 files changed, 13 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
GNU Inetutils 



reply via email to

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