Mercurial > public > mercurial-scm > hg
diff tests/test-parse-date.t @ 12316:4134686b83e1
tests: add exit codes to unified tests
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 16 Sep 2010 17:51:32 -0500 |
parents | 323292c2e566 |
children | 22f3353bcc36 |
line wrap: on
line diff
--- a/tests/test-parse-date.t Thu Sep 16 16:12:26 2010 -0500 +++ b/tests/test-parse-date.t Thu Sep 16 17:51:32 2010 -0500 @@ -18,10 +18,13 @@ $ echo "fail" >> a $ hg ci -d "should fail" -m "fail" abort: invalid date: 'should fail' + [255] $ hg ci -d "100000000000000000 1400" -m "fail" abort: date exceeds 32 bits: 100000000000000000 + [255] $ hg ci -d "100000 1400000" -m "fail" abort: impossible time zone offset: 1400000 + [255] Check with local timezone other than GMT and with DST