summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-16 00:19:50 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-16 00:19:50 (EDT)
commit4b2654a5b69a15b1a492040e5c5d365f106a83c2 (patch)
treed07d27eca9f0350b134bcf5645313a27a12238d8 /tests
parente30f9b9d514b8a79f59fee77b12bf96c94ab47c5 (diff)
tests/lib/ob_rfc822_mktime.sh: Test Y2k38
Diffstat (limited to 'tests')
-rwxr-xr-xtests/lib/ob_rfc822_mktime.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/lib/ob_rfc822_mktime.sh b/tests/lib/ob_rfc822_mktime.sh
index eb35215..eeb0f55 100755
--- a/tests/lib/ob_rfc822_mktime.sh
+++ b/tests/lib/ob_rfc822_mktime.sh
@@ -23,7 +23,7 @@ set -eu
. "${TOP_SRCDIR}/tests/aux/common.sh"
. "${TOP_BUILDDIR}/lib/libopkbuild.${SHSOEXT}.${LIBOPKBUILD_SHSOVERSION}"
-plan_ 6
+plan_ 7
tst()
{
@@ -39,4 +39,5 @@ tst 'Wed, 01 Jan 1970 00:00:01 +0000' 1
tst 'Fri, 02 Jan 1970 01:02:03 -0500' 108123
tst 'Fri, 30 Apr 1971 12:34:56 -0400' 41877296
tst 'Mon, 28 Feb 1994 19:00:00 -0500' 762480000
-tst 'Fri, 01 Jul 2000 10:20:30 +0100' 962410830
+tst 'Sat, 01 Jul 2000 10:20:30 +0100' 962410830
+tst 'Tue, 19 Jan 2038 03:14:08 +0000' 2147483648