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

Re: [PATCH] Workaround for strange cmp bug

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 9, 2006, 11:12 UTC
Message-ID
<Pine.LNX.4.63.0608091309590.1800@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<7v3bc65gk0.fsf@assigned-by-dhcp.cox.net>
Hi,
On Wed, 9 Aug 2006, Junio C Hamano wrote:
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> 
> > The cmp(1) (cmp (GNU diffutils) 2.8.7) distributed with openSUSE 10.1 has
> > a subtle "shortcoming":

Okay, I will try to fix the distribution. I only thought it was worthwhile spreading the workaround for other poor souls.

Show 5 quoted lines
> It actually is very useful, in the chain of &&, to see that
> these steps in our tests output something when they shouldn't
> when the tests are run under -v; you may have noticed that the
> tests written by me have seemingly useless "echo happy" (which
> always returns true) and such, and they are there for a reason.

Well, I found myself stuck with too many of hard-to-debug cascades, where there is no "echo happy". I think that you are lost with most test scripts, if you do not use "bash -x".

Ciao, Dscho

Previous: Junio C HamanoNext: Johannes Schindelin
Message 3 of 5 in “Workaround for strange cmp bug”
  1. Workaround for strange cmp bugJohannes Schindelin, Aug 9, 2006
  2. Junio C HamanoAug 9, 2006
  3. Johannes SchindelinAug 9, 2006
  4. Johannes SchindelinAug 9, 2006
  5. Johannes SchindelinAug 10, 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.