OSDN Git Service

fix brown paper bag breakage in t5150-request-pull.sh
authorJohannes Sixt <j6t@kdbg.org>
Mon, 2 Jun 2014 07:06:56 +0000 (09:06 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 2 Jun 2014 18:05:33 +0000 (11:05 -0700)
The recent addition to the test case 'pull request format' interrupted
the single-quoted text, effectively adding a third argument to the
test_expect_success command. Since we do not have a prerequisite named
"pull request format", the test is skipped, no matter what. Additionally,
the file name argument to the grep command is missing. Fix both issues.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5150-request-pull.sh

index 93e2c65..82c33b8 100755 (executable)
@@ -229,7 +229,7 @@ test_expect_success 'pull request format' '
                cd local &&
                git request-pull initial "$downstream_url" full
        ) >request &&
-       grep ' tags/full$'
+       grep " tags/full\$" request
 '
 
 test_expect_success 'request-pull ignores OPTIONS_KEEPDASHDASH poison' '