From: Thomas Rast Date: Mon, 29 Aug 2011 20:10:47 +0000 (+0200) Subject: t4014: invoke format-patch with --stdout where intended X-Git-Tag: v1.7.7-rc1~18^2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2fdb5c6219ffe17f40833f32541af764ed2364db;p=git.git t4014: invoke format-patch with --stdout where intended The test wrote something along the lines of 0001-foo.patch to output, which of course never contained a signature. Luckily the tested behaviour is actually present. Signed-off-by: Thomas Rast Signed-off-by: Junio C Hamano --- diff --git a/t/t4014-format-patch.sh b/t/t4014-format-patch.sh index b4d420724..a45d4fbd0 100755 --- a/t/t4014-format-patch.sh +++ b/t/t4014-format-patch.sh @@ -698,8 +698,8 @@ test_expect_success 'format-patch --no-signature supresses signatures' ' ! grep "^-- \$" output ' -test_expect_failure 'format-patch --signature="" supresses signatures' ' - git format-patch --signature="" -1 >output && +test_expect_success 'format-patch --signature="" supresses signatures' ' + git format-patch --stdout --signature="" -1 >output && check_patch output && ! grep "^-- \$" output '