Skip to content

Commit 6f89384

Browse files
drafnelgitster
authored andcommitted
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>
1 parent 53dfac4 commit 6f89384

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t5150-request-pull.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ test_expect_success 'setup: two scripts for reading pull requests' '
6767
6868
cat <<-\EOT >read-request.sed &&
6969
#!/bin/sed -nf
70-
/ in the git repository at:$/! d
70+
/ in the git repository at:$/!d
7171
n
7272
/^$/ n
7373
s/^[ ]*\(.*\) \([^ ]*\)/please pull\
@@ -102,7 +102,7 @@ test_expect_success 'setup: two scripts for reading pull requests' '
102102
/^ [a-zA-Z]/ n
103103
/^[a-zA-Z]* ([0-9]*):\$/ n
104104
/^\$/ N
105-
/^\n[a-zA-Z]* ([0-9]*):\$/! {
105+
/^\n[a-zA-Z]* ([0-9]*):\$/!{
106106
a\\
107107
SHORTLOG
108108
D

0 commit comments

Comments
 (0)