Skip to content

Commit

Permalink
t4014: invoke format-patch with --stdout where intended
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Rast authored and Junio C Hamano committed Aug 29, 2011
1 parent cc663d1 commit 2fdb5c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/t4014-format-patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
'
Expand Down

0 comments on commit 2fdb5c6

Please sign in to comment.