t/t5150: remove space from sed script
Solaris's xpg4/sed and IRIX's sed fail to parse these negated matching expressions when the '!' is separated from the command that follows. Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Acked-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
53dfac44c9
commit
6f89384fe0
@ -67,7 +67,7 @@ test_expect_success 'setup: two scripts for reading pull requests' '
|
|||||||
|
|
||||||
cat <<-\EOT >read-request.sed &&
|
cat <<-\EOT >read-request.sed &&
|
||||||
#!/bin/sed -nf
|
#!/bin/sed -nf
|
||||||
/ in the git repository at:$/! d
|
/ in the git repository at:$/!d
|
||||||
n
|
n
|
||||||
/^$/ n
|
/^$/ n
|
||||||
s/^[ ]*\(.*\) \([^ ]*\)/please pull\
|
s/^[ ]*\(.*\) \([^ ]*\)/please pull\
|
||||||
@ -102,7 +102,7 @@ test_expect_success 'setup: two scripts for reading pull requests' '
|
|||||||
/^ [a-zA-Z]/ n
|
/^ [a-zA-Z]/ n
|
||||||
/^[a-zA-Z]* ([0-9]*):\$/ n
|
/^[a-zA-Z]* ([0-9]*):\$/ n
|
||||||
/^\$/ N
|
/^\$/ N
|
||||||
/^\n[a-zA-Z]* ([0-9]*):\$/! {
|
/^\n[a-zA-Z]* ([0-9]*):\$/!{
|
||||||
a\\
|
a\\
|
||||||
SHORTLOG
|
SHORTLOG
|
||||||
D
|
D
|
||||||
|
Loading…
Reference in New Issue
Block a user