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

Re: t7610-mergetool.sh test failure

From
Jeff King <peff@peff.net>
Date
May 27, 2016, 05:00 UTC
Message-ID
<20160527050054.GA25774@sigill.intra.peff.net>
In-Reply-To
<20160527044027.GA26143@gmail.com>
On Thu, May 26, 2016 at 09:40:27PM -0700, David Aguilar wrote:
Show 11 quoted lines
> > BTW, one thing I happened to note while looking at this: running the
> > test script will write into /tmp (or wherever your $TMPDIR points).
> > Probably not a big deal, but I wonder if we should be setting $TMPDIR in
> > our test harness.
> 
> We already set $HOME and various other variables to carefully
> tune the testsuite's behavior, so this sounds like a good idea
> IMO.
> 
> Would there be any downsides to setting $TMPDIR equal to the
> trash directory?

The only one I can think of is that if something leaves cruft in $TMPDIR, it could affect later tests that want to `git add` indiscriminately. It seems unlikely.

OTOH, I do not think putting things in /tmp is hurting anything. I was mostly just surprised by it.

-Peff
Previous: David AguilarNext: Junio C Hamano
Message 7 of 13 in “t7610-mergetool.sh test failure”
  1. Armin KunaschikMay 24, 2016
  2. Junio C HamanoMay 24, 2016
  3. Armin KunaschikMay 24, 2016
  4. Jeff KingMay 25, 2016
  5. Jeff KingMay 26, 2016
  6. David AguilarMay 27, 2016
  7. Jeff KingMay 27, 2016
  8. Junio C HamanoMay 27, 2016
  9. Jeff KingMay 27, 2016
  10. Junio C HamanoMay 27, 2016
  11. Jeff KingMay 27, 2016
  12. Armin KunaschikJun 22, 2016
  13. Jeff KingJun 22, 2016

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.