From: Brandon Casey Date: Wed, 2 Jun 2010 00:13:42 +0000 (-0500) Subject: t/t5150: remove space from sed script X-Git-Tag: v1.7.2-rc0~33^2~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6f89384fe0c5a131d055c19fffe22f8d087a0a7e;p=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 Acked-by: Jonathan Nieder Signed-off-by: Junio C Hamano --- diff --git a/t/t5150-request-pull.sh b/t/t5150-request-pull.sh index 169d3ea37..9cc0a42ea 100755 --- a/t/t5150-request-pull.sh +++ b/t/t5150-request-pull.sh @@ -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