Thread (8 messages) flat view 8 messages, 4 authors, 2016-06-15

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

From: Rémi Vanicat <hidden>
Date: 2016-06-15 22:44:29

2008/4/17, Linus Torvalds [off-list ref]:

 On Thu, 17 Apr 2008, Remi Vanicat wrote:
[...]
 > $ ./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
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help