t7004: factor out gpg setup
authorJeff King <peff@peff.net>
Wed, 7 Sep 2011 17:42:39 +0000 (13:42 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 Sep 2011 20:50:58 +0000 (13:50 -0700)
commit37d3e85912ea13cb1d59022e2bc2ea8cf8bf4876
tree4a48d94bdaeec2eda4940fa6ebb95101d50a3970
parenta452d148d10a89ae502bc4755c191ab323227ce5
t7004: factor out gpg setup

Other test scripts may want to look at or verify signed
tags, and the setup is non-trivial. Let's factor this out
into lib-gpg.sh for other tests to use.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-gpg.sh [new file with mode: 0755]
t/lib-gpg/pubring.gpg [moved from t/t7004/pubring.gpg with 100% similarity]
t/lib-gpg/random_seed [moved from t/t7004/random_seed with 100% similarity]
t/lib-gpg/secring.gpg [moved from t/t7004/secring.gpg with 100% similarity]
t/lib-gpg/trustdb.gpg [moved from t/t7004/trustdb.gpg with 100% similarity]
t/t7004-tag.sh