From: Junio C Hamano Date: Sat, 19 Apr 2008 06:51:08 GMT Subject: Re: [BUGS] test failure in t4014-format-patch.sh with master Message-ID: <7vfxtiibhf.fsf@gitster.siamese.dyndns.org> In-Reply-To: <6b8a91420804181513m139baf06x41d8efeb7acd49a3@mail.gmail.com> "Rémi Vanicat" writes: > 2008/4/18, Linus Torvalds : >> >> >> 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.