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>
Thomas Rast committed
Aug 29, 2011 at 22:10 UTC
2fdb5c6219ffe17f40833f32541af764ed2364db
1 file changed
+2
-2
t/t4014-format-patch.sh
+2
-2
@@ -698,8 +698,8 @@ test_expect_success 'format-patch --no-signature supresses signatures' '
698
! grep "^-- \$" output
699
'
700
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 &&
703
check_patch output &&
704
! grep "^-- \$" output
705
'