From da66db89bd5c26c6731b77e3f8616e660529812d Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 02 Jan 2021 13:23:21 -0500 Subject: tests/lib/ob_rfc822_mktime.sh: Add more test cases --- (limited to 'tests/lib') diff --git a/tests/lib/ob_rfc822_mktime.sh b/tests/lib/ob_rfc822_mktime.sh index f0ddcbc..4641a0c 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_ 7 +plan_ 10 tst() { @@ -40,4 +40,7 @@ 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 'Sat, 01 Jul 2000 10:20:30 +0100' 962443230 +tst 'Tue, 08 Dec 2020 04:23:28 -0500' 1607419408 +tst 'Thu, 31 Dec 2020 23:59:59 +0000' 1609459199 +tst 'Fri, 01 Jan 2021 09:20:19 -0500' 1609510819 tst 'Tue, 19 Jan 2038 03:14:08 +0000' 2147483648 -- cgit v0.9.1