git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
57a8dd7
)
t/t7510: check the validation of the new config gpg.format
author
Henning Schild
<redacted>
Wed, 18 Jul 2018 09:30:10 +0000
(11:30 +0200)
committer
Junio C Hamano
<redacted>
Wed, 18 Jul 2018 17:02:00 +0000
(10:02 -0700)
Test setting gpg.format to both invalid and valid values.
Signed-off-by: Henning Schild <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t7510-signed-commit.sh
patch
|
blob
|
history
diff --git
a/t/t7510-signed-commit.sh
b/t/t7510-signed-commit.sh
index 6e2015ed9a199d6c6240a5fee850e72fd2fa65c3..4e37ff8f169615a893ee5d0594ff056b0284b724 100755
(executable)
--- a/
t/t7510-signed-commit.sh
+++ b/
t/t7510-signed-commit.sh
@@
-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
git clone https://git.99rst.org/PROJECT