Re: [BUGS] test failure in t4014-format-patch.sh with master
- From
Rémi Vanicat <vanicat@debian.org>
- Date
- Apr 17, 2008, 15:44 UTC
- Message-ID
- <6b8a91420804170844t2776e8a7sf735e3f87a95298b@mail.gmail.com>
- In-Reply-To
- <alpine.LFD.1.00.0804170806430.2879@woody.linux-foundation.org>
2008/4/17, Linus Torvalds <torvalds@linux-foundation.org>:
> > > On Thu, 17 Apr 2008, Remi Vanicat wrote:
[...]
Show 5 quoted lines
> > $ ./t4014-format-patch.sh > > [....] > > * FAIL 8: replay did not screw up the log message > > Hmm. Doesn't fail for me.
[...]
> 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).
Debian used bash, but I use dash as /bin/sh
Show 6 quoted lines
> What does > > a="hello\nhi" > echo $a > > result in?
here is the problem:
$/bin/sh $ a="hello\nhi" $ echo $a hello hi
Mmm, I Wonder what posix said about this, but it look like a bug with dash