RE: [Breakage] Git v2.21.0-rc0 - t5318 (NonStop)
- From
Randall S. Becker <rsbecker@nexbridge.com>
- Date
- Feb 8, 2019, 22:12 UTC
- Message-ID
- <005901d4bffb$6d0c34c0$47249e40$@nexbridge.com>
- In-Reply-To
- <20190208220714.GG11927@genre.crustytoothpaste.net>
On February 8, 2019 17:07, brian m. carlson wrote:
Show 10 quoted lines
> On Fri, Feb 08, 2019 at 02:31:57PM -0500, Jeff King wrote: > > > It is available AFAIK on Linux, POSIX, and Windows under Cygwin. > > > That's more than /dev/zero has anyway. I have the patch ready if you > > > want it. > > > > Is it POSIX? Certainly truncate() is, but I didn't think the > > command-line tool was. If it really is available everywhere, then > > yeah, I'd be fine with it. > > It's not. POSIX doesn't specify the command, and macOS lacks it, I believe.
I'm happy to modify the test (it is in one spot), to make a decision based on: a) whether /dev/zero exists b) whether the system is a NonStop c) something else
What would you all prefer? It doesn't matter to me one way or another, as long as I can get the dependency to /dev/zero removed so tests will run here.
Thanks, Randall