From 4b2654a5b69a15b1a492040e5c5d365f106a83c2 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 16 Jun 2019 00:19:50 -0400 Subject: tests/lib/ob_rfc822_mktime.sh: Test Y2k38 --- 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 -- cgit v0.9.1