[PATCH 2/4] test: add some more time tests

Jani Nikula jani at nikula.org
Mon Mar 2 09:47:02 PST 2015


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 08a834eb1a80..ca3ecb4036ed 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
-- 
2.1.4



More information about the notmuch mailing list