This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.26.9000-743-ga19c0a1


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 C Library master sources".

The branch, master has been updated
       via  a19c0a1db50ed3fd58715a1d78ea465d82fe9fd5 (commit)
      from  8cb5295d3f642af43694ba39bc56c8575380aeb3 (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=a19c0a1db50ed3fd58715a1d78ea465d82fe9fd5

commit a19c0a1db50ed3fd58715a1d78ea465d82fe9fd5
Author: Florian Weimer <fweimer@redhat.com>
Date:   Sat Nov 11 10:54:16 2017 +0100

    resolv: Use test framework in tst-resolv-network
    
    The main function was left in place by accident when the
    test was imported.

diff --git a/ChangeLog b/ChangeLog
index 475945b..3654876 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-11-11  Florian Weimer  <fweimer@redhat.com>
+
+	* resolv/tst-resolv-network.c: Use test framework instead explicit
+	main function.
+
 2017-11-09  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
diff --git a/resolv/tst-resolv-network.c b/resolv/tst-resolv-network.c
index df9daf8..7f5c291 100644
--- a/resolv/tst-resolv-network.c
+++ b/resolv/tst-resolv-network.c
@@ -214,8 +214,8 @@ check_long_name (void)
   free (mem.buffer);
 }
 
-int
-main (void)
+static int
+do_test (void)
 {
   struct resolv_test *obj = resolv_test_start
     ((struct resolv_redirect_config)
@@ -296,4 +296,8 @@ main (void)
   check_long_name ();
 
   resolv_test_end (obj);
+
+  return 0;
 }
+
+#include <support/test-driver.c>

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

Summary of changes:
 ChangeLog                   |    5 +++++
 resolv/tst-resolv-network.c |    8 ++++++--
 2 files changed, 11 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]