From: Paolo Bonzini Date: Mon, 16 Feb 2015 18:16:06 GMT Subject: [PATCH 1/3] request-pull: fix expected format in tests Message-ID: <1424110568-29479-2-git-send-email-bonzini@gnu.org> In-Reply-To: <1424110568-29479-1-git-send-email-bonzini@gnu.org> From: Paolo Bonzini "tag foo" in requests has been replaced with "tags/foo" (commit f032d66, request-pull: do not emit "tag" before the tagname, 2011-12-19). Adjust the parsing script to match; since the new format does not have spaces, doing nothing is fine. Signed-off-by: Paolo Bonzini --- t/t5150-request-pull.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/t/t5150-request-pull.sh b/t/t5150-request-pull.sh index 82c33b8..8b19279 100755 --- a/t/t5150-request-pull.sh +++ b/t/t5150-request-pull.sh @@ -67,11 +67,10 @@ test_expect_success 'setup: two scripts for reading pull requests' ' cat <<-\EOT >read-request.sed && #!/bin/sed -nf - # Note that a request could ask for "tag $tagname" + # Note that a request could ask for "tags/$tagname" / in the git repository at:$/!d n /^$/ n - s/ tag \([^ ]*\)$/ tag--\1/ s/^[ ]*\(.*\) \([^ ]*\)/please pull\ \1\ \2/p -- 2.3.0