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

Re: [PATCH] git_mkstemps: improve test suite test

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Aug 3, 2013, 00:36 UTC
Message-ID
<20130803003636.GB2945@elie.Belkin>
In-Reply-To
<201308030027.r730RNWS022924@freeze.ariadne.com>
Hi,
Dale R. Worley wrote:
> Commit 52749 fixes a bug regarding testing the return of an open()
 $ git show 52749
 fatal: ambiguous argument '52749': unknown revision or path not in the working tree.
Could you mention its subject line or date so it's easier to find?
Show 6 quoted lines
> call for success/failure.  Improve the testsuite test for that fix by
> removing the helper program 'test-close-fd-0' and replacing it with
> the shell redirection '<&-'.  (The redirection is Posix, so it should
> be portable.)
> 
> Signed-off-by: Dale Worley <worley@ariadne.com>
[...]
> Someone has gone ahead and made the code change, so all that remains
> is to update the testsuite test by replacing the helper program
> 'test-close-fd-0' with the Posix shell redirection '<&-'.

The above paragraph should be part of the commit message, since otherwise the patch is hard to understand.

The patch text looks good.

Thanks and hope that helps, Jonathan

Previous: Dale R. WorleyNext: Junio C Hamano
Message 2 of 4 in “git_mkstemps: improve test suite test”
  1. git_mkstemps: improve test suite testDale R. Worley, Aug 3, 2013
  2. Jonathan NiederAug 3, 2013
  3. Junio C HamanoAug 5, 2013
  4. Junio C HamanoAug 5, 2013

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.