diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/clock.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/clock.test b/tests/clock.test index 4e32df4..3e9aec3 100644 --- a/tests/clock.test +++ b/tests/clock.test @@ -51,4 +51,9 @@ test clock-4.1 {clock scan tests} clockscan { clock scan {Sun Nov 04 03:02:46 AM 1990} -format {%a %b %d %I:%M:%S %p %Y} -gmt true } 657687766 +# This will fail on systems that are not Y2038 compliant +test clock-5.1 {Year 2038 compliance} { + clock format 2200000000 -format %Y-%m-%dT%H:%M:%S -gmt true +} 2039-09-18T23:06:40 + testreport |