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.21-164-g5df56c7


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  5df56c7e3a236b39b3395e042015b541172f652b (commit)
      from  1cdf2ea1fa44bae7d400b602399e30d490173bf3 (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=5df56c7e3a236b39b3395e042015b541172f652b

commit 5df56c7e3a236b39b3395e042015b541172f652b
Author: Vincent Bernat <vincent@bernat.im>
Date:   Fri Mar 6 12:01:52 2015 +0100

    time: ensure failing strptime() tests are reported correctly

diff --git a/ChangeLog b/ChangeLog
index 420f351..0eb779d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-06  Vincent Bernat  <vincent@bernat.im>
+
+	* time/tst-strptime2.c (do_test): Ensure failing tests are
+	reported correctly.
+	* time/tst-strptime3.c (do_test): Likewise.
+
 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
 
 	Fix aio_error thread-safety.
diff --git a/time/tst-strptime2.c b/time/tst-strptime2.c
index bcd6cc8..a08e6d7 100644
--- a/time/tst-strptime2.c
+++ b/time/tst-strptime2.c
@@ -52,10 +52,7 @@ do_test (void)
 	}
     }
 
-  if (result == 0)
-    puts ("all OK");
-
-  return 0;
+  return result;
 }
 
 #define TEST_FUNCTION do_test ()
diff --git a/time/tst-strptime3.c b/time/tst-strptime3.c
index 75b57c1..d53f51e 100644
--- a/time/tst-strptime3.c
+++ b/time/tst-strptime3.c
@@ -48,10 +48,7 @@ do_test (void)
       result = 1;
     }
 
-  if (result == 0)
-    puts ("all OK");
-
-  return 0;
+  return result;
 }
 
 #define TEST_FUNCTION do_test ()

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

Summary of changes:
 ChangeLog            |    6 ++++++
 time/tst-strptime2.c |    5 +----
 time/tst-strptime3.c |    5 +----
 3 files changed, 8 insertions(+), 8 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]