diff options
author | Brandon Casey <drafnel@gmail.com> | 2010-06-01 19:13:42 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-06-02 09:30:35 -0700 |
commit | 6f89384fe0c5a131d055c19fffe22f8d087a0a7e (patch) | |
tree | fc7d5df0e226bc8756b4350ef72baf2533989251 /t/t5150-request-pull.sh | |
parent | 53dfac44c93d5861f0ab60fc38e1a2d3b67e8c62 (diff) | |
download | git-6f89384fe0c5a131d055c19fffe22f8d087a0a7e.tar.gz |
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>
Diffstat (limited to 't/t5150-request-pull.sh')
-rwxr-xr-x | t/t5150-request-pull.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t5150-request-pull.sh b/t/t5150-request-pull.sh index 169d3ea376..9cc0a42ea9 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 |