git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.
Previous: Alex RiesenNext: Alex Riesen
Message 4 of 14 in “Use find instead of perl in t5000 to get file modification time”
  1. Use find instead of perl in t5000 to get file modification timeAlex Riesen, Oct 29, 2008
  2. Jeff KingOct 29, 2008
  3. Alex RiesenOct 30, 2008
  4. Sam VilainOct 30, 2008
  5. Alex RiesenOct 31, 2008
  6. Peter HarrisOct 31, 2008
  7. Alex RiesenOct 31, 2008
  8. Johannes SchindelinOct 31, 2008
  9. Alex RiesenOct 31, 2008
  10. Johannes SchindelinNov 1, 2008
  11. Alex RiesenNov 1, 2008
  12. Johannes SchindelinNov 1, 2008
  13. Alex RiesenNov 2, 2008
  14. Johannes SchindelinNov 2, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.