aboutsummaryrefslogtreecommitdiffstats
path: root/common/t-gettime.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-07-13 13:11:46 +0000
committerWerner Koch <[email protected]>2016-07-13 13:11:46 +0000
commit4ef62278e3c9406360dc50288f422291497e218f (patch)
treefff3a49be5c2659ab87195e5b0a4f88e51a49205 /common/t-gettime.c
parentMerge branch 'master' into STABLE-BRANCH-2-2 (diff)
parentgpg: New option --mimemode. (diff)
downloadgnupg-4ef62278e3c9406360dc50288f422291497e218f.tar.gz
gnupg-4ef62278e3c9406360dc50288f422291497e218f.zip
Merge branch 'master' into STABLE-BRANCH-2-2
--
Diffstat (limited to '')
-rw-r--r--common/t-gettime.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/t-gettime.c b/common/t-gettime.c
index 9b3139d48..8a222b7e4 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;