Re: not all tests pass when on an NFS partition
- From
Brandon Casey <casey@nrlssc.navy.mil>
- Date
- Feb 13, 2009, 00:54 UTC
- Message-ID
- <Aq-rucZsypJQU8SHtTE8X62cEZZn-xSpOOIfA-I5czdtCkm2IyMjDw@cipher.nrlssc.navy.mil>
- In-Reply-To
- <7vk57vjqsd.fsf@gitster.siamese.dyndns.org>
Junio C Hamano wrote:
Show 6 quoted lines
> E R <pc88mxer@gmail.com> writes: > >> When I run 'make test' for git-1.6.1.3 it will fail on this test when >> running on an NFS partition. > > ... when the filesystem clock and the machine clock are out of sync.
I previously modified t5304 to make test-chmtime modify the mtime of the file based on the system time rather than the file mtime precisely to avoid this problem. i.e. the argument to test-chmtime is now prefixed with '='
So I don't think it is related to out of sync clock on NFS server and client. There may be a bug in the NFS client though.
>> Is this a known problem? Is this a real problem?
Known by me, but I haven't mentioned it since I haven't had a moment to diagnose it.
>> My uname -a: Linux XXX 2.6.18-92.1.17.el5 #1 SMP Tue Nov 4 13:45:01 >> EST 2008 i686 athlon i386 GNU/Linux
RHEL 5.2? me too.
RHEL 4.7 works fine, same NFS server (running 5.2).
-brandon