From 65dee41fb64a3831639e6de7ff7a8dd4e8dbc9f9 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Mon, 2 Mar 2015 19:47:02 +0200 Subject: [PATCH] test: add some more time tests Ensure the seconds are set properly. --- test/T490-parse-time-string.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/T490-parse-time-string.sh b/test/T490-parse-time-string.sh index 08a834eb..ca3ecb40 100755 --- a/test/T490-parse-time-string.sh +++ b/test/T490-parse-time-string.sh @@ -51,6 +51,11 @@ Aug 3 23:06:06 2012 ==> Fri Aug 03 23:06:06 +0000 2012 # date(1) def Fri, 03 Aug 2012 23:07:46 +0100 ==> Fri Aug 03 22:07:46 +0000 2012 # rfc-2822 2012-08-03 23:09:37+03:00 ==> Fri Aug 03 20:09:37 +0000 2012 # rfc-3339 seconds +10:30:40 ==> Tue Jan 11 10:30:40 +0000 2011 +10:30:40 ==^> Tue Jan 11 10:30:40 +0000 2011 +10:30:40 ==^^> Tue Jan 11 10:30:40 +0000 2011 +10:30:40 ==_> Tue Jan 11 10:30:40 +0000 2011 + 10s ==> Tue Jan 11 12:13:04 +0000 2011 19701223s ==> Fri May 28 11:39:31 +0000 2010 19701223 ==> Wed Dec 23 12:13:14 +0000 1970