diff options
author | Thomas Rast <trast@student.ethz.ch> | 2011-08-29 22:10:47 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-29 15:27:04 -0700 |
commit | 2fdb5c6219ffe17f40833f32541af764ed2364db (patch) | |
tree | c83d46b0f6577b9472d24ba249a2adac7d3edf90 /t/t4014-format-patch.sh | |
parent | cc663d141a2d900d097973a8fdcb939f697d46bd (diff) | |
download | git-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-x | t/t4014-format-patch.sh | 4 |
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 ' |