Re: [PATCH 6/6] fixup! reftable: rest of library
- From
Jeff King <peff@peff.net>
- Date
- Dec 1, 2020, 10:28 UTC
- Message-ID
- <X8Ya24TJd87hRq7H@coredump.intra.peff.net>
- In-Reply-To
- <ded8d502d97d3d48dc0e4397b6153f4b06fa319b.1606545878.git.gitgitgadget@gmail.com>
On Sat, Nov 28, 2020 at 06:44:38AM +0000, Johannes Schindelin via GitGitGadget wrote:
Show 7 quoted lines
> From: Johannes Schindelin <johannes.schindelin@gmx.de> > > The stack_test hard-codes `/tmp/`. That is a particular problem on > Windows where the temp directory is never at that location. > > Let's not do that, but instead use `TMPDIR` as we do in similar > scenarios in the rest of Git's source code.
Yeah, I noticed this, as well. This seems like a good band-aid, but it would probably be nice if the test tool was able to write into a specified directory (or even just the current directory). I don't see it being invoked anywhere, but presumably if we were to add support to our test suite, we'd have a script which invokes it within a scratch directory.
-Peff