RelNotes/1.7.7: minor fixes
[gitweb.git] / t / t4014-format-patch.sh
index b4d42072461d93146a8d9bbea86c73601885f71e..5cbc066e68e15b1015d9b8838b44a8042d4f04fd 100755 (executable)
@@ -219,11 +219,11 @@ test_expect_success '--no-cc overrides config.cc' '
        ! grep "^Cc: C. E. Cipient <rcipient@example.com>\$" patch12
 '
 
-test_expect_failure '--no-add-headers overrides config.headers' '
+test_expect_success '--no-add-header overrides config.headers' '
 
        git config --replace-all format.headers \
                "Header1: B. E. Cipient <rcipient@example.com>" &&
-       git format-patch --no-add-headers --stdout master..side |
+       git format-patch --no-add-header --stdout master..side |
        sed -e "/^\$/q" >patch13 &&
        check_patch patch13 &&
        ! grep "^Header1: B. E. Cipient <rcipient@example.com>\$" patch13
@@ -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
 '