Re: [BUGS] test failure in t4014-format-patch.sh with master
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Apr 17, 2008, 15:11 UTC
- Message-ID
- <alpine.LFD.1.00.0804170806430.2879@woody.linux-foundation.org>
- In-Reply-To
- <87od88eslq.dlv@maison.homelinux.org>
On Thu, 17 Apr 2008, Remi Vanicat wrote:
> > While trying to wrote a test for git, I discover that there is a test > failure in master on my computer:
Hmm. Doesn't fail for me.
Show 7 quoted lines
> $ ./t4014-format-patch.sh > [....] > * FAIL 8: replay did not screw up the log message > > git cat-file commit rebuild-1 | grep "^Side .* with .* backslash-n" > > It seem that now, somewhere a \n has been interpreted as a newline.
I wonder if it is some shell-specific variable expansion issue. What's your /bin/sh? (I assume, from your email address, that you're using Debian, and I thought Debian used bash, but maybe that's not true).
What does
a="hello\nhi" echo $a
result in?
Linus