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

Re: [PATCH] Remove unnecessary ouput from t3600-rm.

From
Junio C Hamano <junkio@cox.net>
Date
May 29, 2006, 07:27 UTC
Message-ID
<7v1wud9tq0.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20060529071646.GC6061@spearce.org>
Shawn Pearce <spearce@spearce.org> writes:
> Moved the output of the setup commits and the test-file rm check to
> file descriptors 3 and 4 hiding their messages unless -v is given.
> This makes the test suite look a little cleaner when the rm test-file
> setup step fails (and was probably expected to fail).

I suspect those bare commands _should_ succeed so make them a separate test step and verify their success return while you are at it, and their output would not be shown normally, without your futzing with file descriptors. Wouldn't that be a lot cleaner approach?

Previous: Shawn PearceNext: Shawn Pearce
Message 2 of 3 in “Remove unnecessary ouput from t3600-rm.”
  1. Remove unnecessary ouput from t3600-rm.Shawn Pearce, May 29, 2006
  2. Junio C HamanoMay 29, 2006
  3. Shawn PearceMay 29, 2006

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.