verify-commit: add test for exit status on untrusted signature
commit8e98e5f27aba812c0f095b7e546871e14a4139f6
authorbrian m. carlson <sandals@crustytoothpaste.net>
Sun, 21 Jun 2015 23:14:39 +0000 (21 23:14 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Jun 2015 21:20:46 +0000 (22 14:20 -0700)
tree591eb190a18dd5be9e3c21cabf02cce14d2dda97
parenta4cc18f2934b8d2f00c7c3e11107acb6bfafe2c6
verify-commit: add test for exit status on untrusted signature

verify-tag exits successfully if the signature is good but the key is
untrusted.  verify-commit exits unsuccessfully.  This divergence in
behavior is unexpected and unwanted.  Since verify-tag existed earlier,
add a failing test to have verify-commit share verify-tag's behavior.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7510-signed-commit.sh