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

Re: Failure in t5516, tests 15 and 16

From
Brian Gernhardt <benji@silverinsanity.com>
Date
Jun 27, 2007, 01:59 UTC
Message-ID
<0EE674FF-3749-43CB-B1CB-7FCF5860D025@silverinsanity.com>
In-Reply-To
<7v4pkuuq5u.fsf@assigned-by-dhcp.pobox.com>
On Jun 26, 2007, at 9:44 PM, Junio C Hamano wrote:
Show 8 quoted lines
> Can you check "cd t && sh -x t5516-fetch-push.sh -i -v"?
>
> I am suspecting that
>
>                 test "$( cd testrepo && git show-ref | wc -l )" = 1
>
> may have an interesting effect when "wc -l" emits extra
> whitespaces.  Does this fix it for you?

Exactly right. This bit me a while back on some other test as well. Should have thought of it this time. Removing the quotes (done manually, as it was faster than extracting your patch from the mail) fixed it and that test works properly now. I'm now getting errors in some CVS test... I'll figure that out later, but it appears completely unrelated.

I'm beginning to despise several of the OS X utilities. I wonder if this is inherited from some BSD, or if it's all new. Doesn't matter though, if you'd be so kind as to remove those quotes from git.git. :-)

~~ Brian
Previous: Junio C Hamano
Message 4 of 4 in “Failure in t5516, tests 15 and 16”
  1. Brian GernhardtJun 22, 2007
  2. Brian GernhardtJun 27, 2007
  3. Junio C HamanoJun 27, 2007
  4. Brian GernhardtJun 27, 2007

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.