From 2fdb5c6219ffe17f40833f32541af764ed2364db Mon Sep 17 00:00:00 2001 From: Thomas Rast Date: Mon, 29 Aug 2011 22:10:47 +0200 Subject: 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 --- t/t4014-format-patch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't') diff --git a/t/t4014-format-patch.sh b/t/t4014-format-patch.sh index b4d4207246..a45d4fbd03 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 ' -- cgit v1.2.1