Skip to content

Commit 2fdb5c6

Browse files
trastgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent cc663d1 commit 2fdb5c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t4014-format-patch.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -698,8 +698,8 @@ test_expect_success 'format-patch --no-signature supresses signatures' '
698698
! grep "^-- \$" output
699699
'
700700

701-
test_expect_failure 'format-patch --signature="" supresses signatures' '
702-
git format-patch --signature="" -1 >output &&
701+
test_expect_success 'format-patch --signature="" supresses signatures' '
702+
git format-patch --stdout --signature="" -1 >output &&
703703
check_patch output &&
704704
! grep "^-- \$" output
705705
'

0 commit comments

Comments
 (0)