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

Re: [PATCH] t6024-recursive-merge.sh: hide spurious output when not running verbosely

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 29, 2008, 23:15 UTC
Message-ID
<7vfxvbbbhn.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20080229225816.GA24892@glandium.org>
Mike Hommey <mh@glandium.org> writes:
Show 16 quoted lines
> On Fri, Feb 29, 2008 at 05:53:31PM -0500, Jeff King wrote:
>> On Fri, Feb 29, 2008 at 11:23:25PM +0100, Mike Hommey wrote:
>> 
>> >  test_expect_success "virtual trees were processed" "git diff expect out"
>> >  
>> > -git reset --hard
>> > +git reset --hard >&3 2>&4
>> >  test_expect_success 'refuse to merge binary files' '
>> >  	printf "\0" > binary-file &&
>> >  	git add binary-file &&
>> 
>> Should this perhaps just be:
>> 
>>   test_expect_success 'reset state' 'git reset --hard'
>
> Is it really about testing git reset ?

No, it is about setting the stage to perform the test in question, so it belongs inside.

Previous: Jeff KingNext: Jeff King
Message 5 of 12 in “t6024-recursive-merge.sh: hide spurious output when not running verbosely”
  1. t6024-recursive-merge.sh: hide spurious output when not running verboselyMike Hommey, Feb 29, 2008
  2. Jeff KingFeb 29, 2008
  3. Mike HommeyFeb 29, 2008
  4. Jeff KingFeb 29, 2008
  5. Junio C HamanoFeb 29, 2008
  6. Jeff KingFeb 29, 2008
  7. Johannes SchindelinFeb 29, 2008
  8. Junio C HamanoFeb 29, 2008
  9. Jeff KingMar 1, 2008
  10. Shawn O. PearceMar 1, 2008
  11. Jeff KingMar 1, 2008
  12. Junio C HamanoMar 1, 2008

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.