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

Re: [BUGS] test failure in t4014-format-patch.sh with master

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 19, 2008, 06:51 UTC
Message-ID
<7vfxtiibhf.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<6b8a91420804181513m139baf06x41d8efeb7acd49a3@mail.gmail.com>
"Rémi Vanicat" <vanicat@debian.org> writes:
Show 17 quoted lines
> 2008/4/18, Linus Torvalds <torvalds@linux-foundation.org>:
>>
>>
>>  On Fri, 18 Apr 2008, Junio C Hamano wrote:
>>  >
>>  > -             (echo "$SUBJECT" ; echo ; cat "$dotest/msg") |
>>  > +             (printf '%s\n' "$SUBJECT" ; echo ; cat "$dotest/msg") |
>>
>>
>> Well, get rid of the superfluous second 'echo' then too, replacing it
>>  with another '\n'. IOW:
>>
>>         ( printf '%s\n\n' "$SUBJECT" ; cat "$dotest/msg" ) |
>>
>>  instead.
>
> This work for me: no more test failure on my computer

Thanks for confirmation. I reproduced the breakage and the fix myself with "make SHELL_PATH=/bin/dash" myself, too.

Previous: Rémi Vanicat
Message 12 of 12 in “[BUGS] test failure in t4014-format-patch.sh with master”
  1. Remi VanicatApr 17, 2008
  2. Linus TorvaldsApr 17, 2008
  3. Björn SteinbrinkApr 17, 2008
  4. Linus TorvaldsApr 17, 2008
  5. Björn SteinbrinkApr 17, 2008
  6. Jeff KingApr 17, 2008
  7. Jeff KingApr 17, 2008
  8. Rémi VanicatApr 17, 2008
  9. Junio C HamanoApr 18, 2008
  10. Linus TorvaldsApr 18, 2008
  11. Rémi VanicatApr 18, 2008
  12. Junio C HamanoApr 19, 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.