mirror of
https://github.com/git/git
synced 2024-08-27 03:29:21 +00:00
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>
This commit is contained in:
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 a new issue