t/t7510: check the validation of the new config gpg.format
Test setting gpg.format to both invalid and valid values. Signed-off-by: Henning Schild <henning.schild@siemens.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
parent
57a8dd75df
commit
1865a647c3
|
@ -227,4 +227,11 @@ test_expect_success GPG 'log.showsignature behaves like --show-signature' '
|
|||
grep "gpg: Good signature" actual
|
||||
'
|
||||
|
||||
test_expect_success GPG 'check config gpg.format values' '
|
||||
test_config gpg.format openpgp &&
|
||||
git commit -S --amend -m "success" &&
|
||||
test_config gpg.format OpEnPgP &&
|
||||
test_must_fail git commit -S --amend -m "fail"
|
||||
'
|
||||
|
||||
test_done
|
||||
|
|
Loading…
Reference in New Issue