timezone causes lots of fails in run-tests
Matt Mackall
mpm at selenic.com
Thu Jun 16 16:44:49 UTC 2005
On Thu, Jun 16, 2005 at 05:55:17PM +0200, Thomas Arendsen Hein wrote:
> * Andrew Thompson <andrewkt at aktzero.com> [20050616 17:27]:
> > Ran 9 tests, 7 failed
> >
> > athompson at xen ~/mercurial/tests $ diff test-basic.out test-basic.err
> > 10c10
> > < date: Wed Dec 31 16:00:00 1969
> > ---
> > > date: Wed Dec 31 19:00:00 1969
> > athompson at xen ~/mercurial/tests $ diff test-undo.out test-undo.err
> > 16c16
> > < date: Wed Dec 31 16:00:00 1969
> > ---
> > > date: Wed Dec 31 19:00:00 1969
> >
> > Can I temporarily reset my timezone(or can run-tests)?
>
> TZ=GMT+8 ./run-tests
>
> Though I think the tests should be shifted to UTC.
>
> This is already number one on my secret todo list, together with a
> way ($HGPORT, .hgrc setting or such) to specify a different port for
> 'hg serve' for tests and normal usage, because port 8000 is already
> used on the machine I run Mercurial on.
>
> Or maybe the default port should change to 20059? The atomic mass of
> Hg is 200.59 amu.
I've updated the testsuite to run the tests in UTC timezone. And moved
the port used in the pull test to 20059.
And pushed the ancestor fix I forgot to push last night.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list