Re: [PATCH] Use find instead of perl in t5000 to get file modification time
- From
Sam Vilain <sam@vilain.net>
- Date
- Oct 30, 2008, 05:29 UTC
- Message-ID
- <1225344554.10803.17.camel@maia.lan>
- In-Reply-To
- <81b0412b0810290338j1beaa25bx9fb373a69f5dfe7@mail.gmail.com>
On Wed, 2008-10-29 at 11:38 +0100, Alex Riesen wrote:
> I could not find what exactly does the ActiveState's Perl use for its stat > implementation (and honestly, have no motivation to look harder). > It seems to honor TZ, but the produced time does not seem to be either > local or GMT.
See, the difference is that the perl is portable and your patch isn't.
Can you at least reveal how far out the value printed by the perl fragment was from the expected value, and what your TZ offset is in seconds. It might be pointing to a deeper problem that could affect more than just this test case.
Sam.