commit-inetutils
[Top][All Lists]
Advanced

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

[SCM] GNU Inetutils branch, master, updated. release_1_5-229-gd72aac5


From: Alfred M. Szmidt
Subject: [SCM] GNU Inetutils branch, master, updated. release_1_5-229-gd72aac5
Date: Sat, 14 Nov 2009 10:55:43 +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 ".

http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=d72aac571d49307228b2a4498c00098889c23cfb

The branch, master has been updated
       via  d72aac571d49307228b2a4498c00098889c23cfb (commit)
       via  21ed96b40318f1622466ad2ee82aa484b0648342 (commit)
       via  cb9b4fdcbb60c3d34028aa7256fac6ada520b621 (commit)
       via  dc8800d837877e17adff99e9c64f6bcf3206ad3c (commit)
       via  fc8aaa5800076187b85f544e6d1fb92faafa1aad (commit)
       via  5460401a29a6c9286e906f22c5141b410ea52494 (commit)
      from  e1cc9b2ef35660642ea5a89ff8dfaeee31d2b612 (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 -----------------------------------------------------------------
commit d72aac571d49307228b2a4498c00098889c23cfb
Author: Alfred M. Szmidt <address@hidden>
Date:   Sat Nov 14 11:57:00 2009 +0100

    .gitignore (GNUmakefile, bootstrap.conf): Added new ignore rules.

commit 21ed96b40318f1622466ad2ee82aa484b0648342
Author: Alfred M. Szmidt <address@hidden>
Date:   Sat Nov 14 11:55:07 2009 +0100

    Added dirname-lgpl module from gnulib.

commit cb9b4fdcbb60c3d34028aa7256fac6ada520b621
Author: Alfred M. Szmidt <address@hidden>
Date:   Sat Nov 14 11:53:59 2009 +0100

    Added test two test cases (one for ping, one for traceroute).

commit dc8800d837877e17adff99e9c64f6bcf3206ad3c
Author: Alfred M. Szmidt <address@hidden>
Date:   Sat Nov 14 11:52:27 2009 +0100

    .gitignore (*.gcno, *.gcda, *.gcov, inetutils-*/)
    (inetutils-*.tar.gz): Added new ignore rules.

commit fc8aaa5800076187b85f544e6d1fb92faafa1aad
Author: Alfred M. Szmidt <address@hidden>
Date:   Sat Nov 14 11:47:12 2009 +0100

    whois/whois.h, rsh/rsh.c (usage): Removed prototype.

commit 5460401a29a6c9286e906f22c5141b410ea52494
Author: Alfred M. Szmidt <address@hidden>
Date:   Sat Nov 14 11:46:17 2009 +0100

    Updated.  (silent change)

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

Summary of changes:
 .gitignore                    |   11 +++++++++--
 ChangeLog                     |   28 ++++++++++++++++++++++++++++
 TODO                          |    6 ++++++
 bootstrap.conf                |    3 ++-
 lib/.gitignore                |    2 ++
 rsh/rsh.c                     |   10 +---------
 tests/Makefile.am             |    2 +-
 tests/ping-localhost.sh       |   15 +++++++++++++++
 tests/traceroute-localhost.sh |   15 +++++++++++++++
 whois/whois.h                 |    1 -
 10 files changed, 79 insertions(+), 14 deletions(-)
 create mode 100644 tests/ping-localhost.sh
 create mode 100644 tests/traceroute-localhost.sh

diff --git a/.gitignore b/.gitignore
index 81fd269..5c5c115 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,19 +1,23 @@
 *.a
 *.cflow
+*.gcda
+*.gcno
+*.gcov
 *.la
 *.lo
 *.o
 *.so
 *~
-TAGS
 .bootstrap
 .deps
 .emacs*
 .libs
 ABOUT-NLS
+GNUmakefile
 INSTALL
 Makefile
 Makefile.in
+TAGS
 aclocal.m4
 autom4te.cache
 build-aux
@@ -26,9 +30,12 @@ config.status
 configure
 confpaths.h
 include
+inetutils-*.tar.gz
+inetutils-*/
 libtool
 m4
+maint.mk
 pathdefs.make
 paths.defs
 stamp-h.in
-stamp-h1
+stamp-h1
\ No newline at end of file
diff --git a/ChangeLog b/ChangeLog
index 7b78e9a..487e38b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,31 @@
+2009-11-14  Alfred M. Szmidt  <address@hidden>
+
+       * .gitignore (GNUmakefile, bootstrap.conf): Added new ignore
+       rules.
+
+2009-11-14  Alfred M. Szmidt  <address@hidden>
+
+       * bootstrap.conf (gnulib_modules): Added dirname-lgpl.
+       (lib/.gitignore): Updated by ./bootstrap.
+
+2009-11-14  Alfred M. Szmidt  <address@hidden>
+
+       * tests/Makefile.am (TESTS): Added ping-localhost.sh and
+       traceroute-localhost.sh.  Use $(check_PROGRAMS) instead of
+       specifying all C test cases manually.
+
+       * tests/traceroute-localhost.sh, tests/ping-localhost.sh: New
+       file.
+
+2009-11-14  Alfred M. Szmidt  <address@hidden>
+
+       * .gitignore (*.gcno, *.gcda, *.gcov, inetutils-*/)
+       (inetutils-*.tar.gz): Added new ignore rules.
+
+2009-11-14  Alfred M. Szmidt  <address@hidden>
+
+       * whois/whois.h, rsh/rsh.c (usage): Removed prototype.
+
 2009-11-13  Simon Josefsson  <address@hidden>
 
        * hostname/hostname.c (get_aliases, get_ip_addresses): Fix
diff --git a/TODO b/TODO
index 6081a4e..44f3569 100644
--- a/TODO
+++ b/TODO
@@ -1,5 +1,11 @@
 * General
 
+Add framework for tests.
+
+Function for parsing address@hidden:PORT], that returns each value
+in a structure.  Handle IP (v4 and v6) numbers as well.  And make
+programs use it.
+
 Files without a copyright notice: ChangeLog, ChangeLog.0, README,
 README-hacking, THANKS, TODO, confpaths.h.in, ifconfig/COMPATIBILITY,
 whois/as_del_list, whois/ip_del_list, whois/make_as_del.pl,
diff --git a/bootstrap.conf b/bootstrap.conf
index 1586115..996252c 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -27,6 +27,7 @@ argp
 argp-version-etc
 autobuild
 dirfd
+dirname-lgpl
 error
 exit
 exitfail
@@ -72,8 +73,8 @@ vsnprintf
 xalloc
 xalloc-die
 xgetcwd
-xgethostname
 xgetdomainname
+xgethostname
 xsize
 "
 
diff --git a/lib/.gitignore b/lib/.gitignore
index d7efcc0..42b0fa1 100644
--- a/lib/.gitignore
+++ b/lib/.gitignore
@@ -19,6 +19,7 @@ argp-xinl.c
 argp.h
 asnprintf.c
 at-func.c
+basename-lgpl.c
 basename.c
 btowc.c
 canonicalize-lgpl.c
@@ -36,6 +37,7 @@ creat-safer.c
 dirent.h
 dirent.in.h
 dirfd.c
+dirname-lgpl.c
 dirname.c
 dirname.h
 dup-safer.c
diff --git a/rsh/rsh.c b/rsh/rsh.c
index 5ee5c61..65e97f2 100644
--- a/rsh/rsh.c
+++ b/rsh/rsh.c
@@ -128,7 +128,6 @@ int rfd2;
 char *copyargs (char **);
 RETSIGTYPE sendsig (int);
 void talk (int, sigset_t *, pid_t, int);
-void usage (void);
 void warning (const char *, ...);
 
 
@@ -209,16 +208,9 @@ parse_opt (int key, char *arg, struct argp_state *state)
   return 0;
 }
 
-static struct argp argp =
-  {
-    options,
-    parse_opt,
-    args_doc,
-    doc
-  };
+static struct argp argp = { options, parse_opt, args_doc, doc };
 
 
-
 int
 main (int argc, char **argv)
 {
diff --git a/tests/Makefile.am b/tests/Makefile.am
index cf615df..4adf3f0 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -20,5 +20,5 @@ AM_CPPFLAGS = -I$(top_srcdir)/libinetutils -I$(top_srcdir)/lib
 
 LDADD = -L../libinetutils -linetutils
 
-TESTS = localhost
 check_PROGRAMS = localhost
+TESTS = $(check_PROGRAMS) ping-localhost.sh traceroute-localhost.sh
diff --git a/tests/ping-localhost.sh b/tests/ping-localhost.sh
new file mode 100644
index 0000000..4be2a02
--- /dev/null
+++ b/tests/ping-localhost.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+if [ $VERBOSE ]; then
+    set -x
+    ping --version
+fi
+
+if [ `id -u` != 0 ]; then
+    echo "ping needs to run as root"
+    exit 77
+fi
+
+ping -c 1 127.0.0.1; errno=$?
+
+exit $errno
diff --git a/tests/traceroute-localhost.sh b/tests/traceroute-localhost.sh
new file mode 100644
index 0000000..79f2cc6
--- /dev/null
+++ b/tests/traceroute-localhost.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+if [ $VERBOSE ]; then
+    set -x
+    traceroute --version
+fi
+
+if [ `id -u` != 0 ]; then
+    echo "traceroute needs to run as root"
+    exit 77
+fi
+
+traceroute 127.0.0.1; errno=$?
+
+exit $errno
diff --git a/whois/whois.h b/whois/whois.h
index 172c1da..2fa4571 100644
--- a/whois/whois.h
+++ b/whois/whois.h
@@ -61,7 +61,6 @@ void do_query (const int, const char *);
 const char *query_crsnic (const int, const char *);
 int openconn (const char *, const char *);
 void closeconn (const int);
-void usage (void);
 RETSIGTYPE sighandler (int);
 unsigned long myinet_aton (const char *);
 int domcmp (const char *, const char *);


hooks/post-receive
-- 
GNU Inetutils 




reply via email to

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