зеркало из https://github.com/microsoft/git.git
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:
Родитель
53dfac44c9
Коммит
6f89384fe0
|
@ -67,7 +67,7 @@ test_expect_success 'setup: two scripts for reading pull requests' '
|
|||
|
||||
cat <<-\EOT >read-request.sed &&
|
||||
#!/bin/sed -nf
|
||||
/ in the git repository at:$/! d
|
||||
/ in the git repository at:$/!d
|
||||
n
|
||||
/^$/ n
|
||||
s/^[ ]*\(.*\) \([^ ]*\)/please pull\
|
||||
|
@ -102,7 +102,7 @@ test_expect_success 'setup: two scripts for reading pull requests' '
|
|||
/^ [a-zA-Z]/ n
|
||||
/^[a-zA-Z]* ([0-9]*):\$/ n
|
||||
/^\$/ N
|
||||
/^\n[a-zA-Z]* ([0-9]*):\$/! {
|
||||
/^\n[a-zA-Z]* ([0-9]*):\$/!{
|
||||
a\\
|
||||
SHORTLOG
|
||||
D
|
||||
|
|
Загрузка…
Ссылка в новой задаче