summaryrefslogtreecommitdiff
path: root/t/t4014-format-patch.sh
diff options
context:
space:
mode:
authorThomas Rast <trast@student.ethz.ch>2011-08-29 22:10:47 +0200
committerJunio C Hamano <gitster@pobox.com>2011-08-29 15:27:04 -0700
commit2fdb5c6219ffe17f40833f32541af764ed2364db (patch)
treec83d46b0f6577b9472d24ba249a2adac7d3edf90 /t/t4014-format-patch.sh
parentcc663d141a2d900d097973a8fdcb939f697d46bd (diff)
downloadgit-2fdb5c6219ffe17f40833f32541af764ed2364db.tar.gz
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 <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4014-format-patch.sh')
-rwxr-xr-xt/t4014-format-patch.sh4
1 files changed, 2 insertions, 2 deletions
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
'