summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-09-10 00:00:39 -0700
committerJunio C Hamano <gitster@pobox.com>2007-09-10 00:00:39 -0700
commit9784c5c53e0765bc9a0c973ab10aaf0734d535c3 (patch)
tree19ddbb0ddd0c4d34bb113672bd61906998fa3f7c /t
parent57543a254c6aef8fca5556e25a9fa6dd5622b037 (diff)
parenta4503a15af661ee865ed10102df15a6d3b43e60a (diff)
downloadgit-9784c5c53e0765bc9a0c973ab10aaf0734d535c3.tar.gz
Merge branch 'sp/maint-no-thin'
* sp/maint-no-thin: Make --no-thin the default in git-push to save server resources fix doc for --compression argument to pack-objects git-tag -s must fail if gpg cannot sign the tag.
Diffstat (limited to 't')
-rwxr-xr-xt/t7004-tag.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/t7004-tag.sh b/t/t7004-tag.sh
index 606d4f2a2c..0d07bc39c7 100755
--- a/t/t7004-tag.sh
+++ b/t/t7004-tag.sh
@@ -990,6 +990,13 @@ test_expect_success \
git diff expect actual
'
+# try to sign with bad user.signingkey
+git config user.signingkey BobTheMouse
+test_expect_failure \
+ 'git-tag -s fails if gpg is misconfigured' \
+ 'git tag -s -m tail tag-gpg-failure'
+git config --unset user.signingkey
+
# try to verify without gpg:
rm -rf gpghome