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

Re: [Fix v2] t5562: remove dependency on /dev/zero

From
Jeff King <peff@peff.net>
Date
Feb 8, 2019, 22:37 UTC
Message-ID
<20190208223720.GB2135@sigill.intra.peff.net>
In-Reply-To
<20190208220751.9936-1-randall.s.becker@rogers.com>
On Fri, Feb 08, 2019 at 05:07:51PM -0500, randall.s.becker@rogers.com wrote:
Show 5 quoted lines
> From: "Randall S. Becker" <rsbecker@nexbridge.com>
> 
> Replaced subtest 15 (CONTENT_LENGTH overflow ssite_t) use of /dev/zero
> with yes and a translation of its result to a stream of NULL. This is
> a more portable solution.
They're NULs, not NULLs. :)

I think in this case, though, we don't actually care about the bytes, and you can drop the "tr" invocation entirely.

-Peff
Previous: randall.s.becker@rogers.comNext: Junio C Hamano
Message 2 of 8 in “[Fix v2] t5562: remove dependency on /dev/zero”
  1. randall.s.becker@rogers.comFeb 8, 2019
  2. Jeff KingFeb 8, 2019
  3. Junio C HamanoFeb 8, 2019
  4. Randall S. BeckerFeb 9, 2019
  5. Johannes SixtFeb 9, 2019
  6. Junio C HamanoFeb 9, 2019
  7. Randall S. BeckerFeb 9, 2019
  8. Johannes SixtFeb 9, 2019

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.