t/t5150: remove space from sed script
authorBrandon Casey <drafnel@gmail.com>
Wed, 2 Jun 2010 00:13:42 +0000 (19:13 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Jun 2010 16:30:35 +0000 (09:30 -0700)
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>
t/t5150-request-pull.sh

index 169d3ea376f68a0924920b52748ba64356084eab..9cc0a42ea977e184be7af02e05352da8155c4728 100755 (executable)
@@ -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