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

Re: [PATCH] Tests: use test_cmp instead of diff where possible

From
CRCarlos Rica <jasampler@gmail.com>
Date
Mar 17, 2009, 13:02 UTC
Message-ID
<1b46aba20903170602j79735631uf20e0a729e69c4b@mail.gmail.com>
In-Reply-To
<1237124036-1348-1-git-send-email-vmiklos@frugalware.org>
On Sun, Mar 15, 2009 at 2:33 PM, Miklos Vajna <vmiklos@frugalware.org> wrote:
> Several old tests were written before test_cmp was introduced, convert
> these to test_cmp.

What about the current other calls to cmp? I don't know if they should be changed too. Are they just the subject of another future change or have a different purpose? I recently used test_cmp in a test full of cmp calls (t1300-repo-config.sh).

Previous: Jeff KingNext: Miklos Vajna
Message 5 of 6 in “Tests: use test_cmp instead of diff where possible”
  1. Tests: use test_cmp instead of diff where possibleMiklos Vajna, Mar 15, 2009
  2. René ScharfeMar 15, 2009
  3. Tests: use test_cmp instead of diff where possibleMiklos Vajna, Mar 16, 2009
  4. Jeff KingMar 17, 2009
  5. Carlos RicaMar 17, 2009
  6. Miklos VajnaMar 17, 2009

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.