@matheusbsbs / matheus-bagliano / commits / 6f89384fe0
Fork 0

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>

Brandon Casey committed Jun 1, 2010 at 19:13 UTC 6f89384fe0c5a131d055c19fffe22f8d087a0a7e
1 file changed +2 -2
t/t5150-request-pull.sh
+2 -2
@@ -67,7 +67,7 @@ test_expect_success 'setup: two scripts for reading pull requests' '
67
68 cat <<-\EOT >read-request.sed &&
69 #!/bin/sed -nf
70 - / in the git repository at:$/! d
70 + / in the git repository at:$/!d
71 n
72 /^$/ n
73 s/^[ ]*\(.*\) \([^ ]*\)/please pull\
@@ -102,7 +102,7 @@ test_expect_success 'setup: two scripts for reading pull requests' '
102 /^ [a-zA-Z]/ n
103 /^[a-zA-Z]* ([0-9]*):\$/ n
104 /^\$/ N
105 - /^\n[a-zA-Z]* ([0-9]*):\$/! {
105 + /^\n[a-zA-Z]* ([0-9]*):\$/!{
106 a\\
107 SHORTLOG
108 D