[git] GnuPG - branch, master, updated. gnupg-2.1.13-108-g27d158e

by Werner Koch cvs at cvs.gnupg.org
Mon Jul 4 10:02:49 CEST 2016


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 "The GNU Privacy Guard".

The branch, master has been updated
       via  27d158ead4a2b9c52269ef28d050a49c786c7d13 (commit)
      from  9177a897732b3cebf3f15c97c1f613f71b6318fe (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 27d158ead4a2b9c52269ef28d050a49c786c7d13
Author: Werner Koch <wk at gnupg.org>
Date:   Mon Jul 4 10:00:34 2016 +0200

    tests: Add a gettime test for sizeof (time_t) > 4.
    
    * common/t-gettime.c (test_isotime2epoch): Add 4 more tests.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/common/t-gettime.c b/common/t-gettime.c
index 9b3139d..8a222b7 100644
--- a/common/t-gettime.c
+++ b/common/t-gettime.c
@@ -54,6 +54,12 @@ test_isotime2epoch (void)
     { "20070629T160000 ",  1183132800 },
     { "20070629T160000\n", 1183132800 },
     { "20070629T160000.",  INVALID },
+#if SIZEOF_TIME_T > 4
+    { "21060207T062815", (time_t)0x0ffffffff },
+    { "21060207T062816", (time_t)0x100000000 },
+    { "21060207T062817", (time_t)0x100000001 },
+    { "21060711T120001", (time_t)4308292801  },
+#endif /*SIZEOF_TIME_T > 4*/
     { NULL, 0 }
   };
   int idx;

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

Summary of changes:
 common/t-gettime.c | 6 ++++++
 1 file changed, 6 insertions(+)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list