diff options
| author | Jani Nikula <jani@nikula.org> | 2015-03-02 19:47:02 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2015-03-06 21:36:11 +0100 |
| commit | 65dee41fb64a3831639e6de7ff7a8dd4e8dbc9f9 (patch) | |
| tree | 5f78b0052f1c6b890ed91ae49a7bb5d1497102d5 | |
| parent | fd80a9cac1b773d50acef42522ef767c1a2d44b7 (diff) | |
test: add some more time tests
Ensure the seconds are set properly.
| -rwxr-xr-x | test/T490-parse-time-string.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
