aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2019-05-07 09:01:35 -0400
committerDavid Bremner <david@tethera.net>2019-05-10 06:56:34 -0300
commitbda0fecccd2888f33257696845b44b9e05b336fd (patch)
tree7c67ed1b7dd8b9f494b0a7ee18ec72ce8acfef5e /test
parentf2425a11a3735a726bab60d4942ce82f77c47950 (diff)
test: avoid unnecessary extraction of the test fingerprint
FINGERPRINT is already exported by add_gnupg_home, so this is unnecessary. This change also happens to get rid of the superfluous check-trustdb spew from the test suite that looked like this: gpg: checking the trustdb gpg: marginals needed: 3 completes needed: 1 trust model: pgp gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'test')
-rwxr-xr-xtest/T357-index-decryption.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/T357-index-decryption.sh b/test/T357-index-decryption.sh
index c9cd5e30..8a2d4c02 100755
--- a/test/T357-index-decryption.sh
+++ b/test/T357-index-decryption.sh
@@ -8,8 +8,6 @@ test_description='indexing decrypted mail'
##################################################
add_gnupg_home
-# get key fingerprint
-FINGERPRINT=$(gpg --no-tty --list-secret-keys --with-colons --fingerprint | grep '^fpr:' | cut -d: -f10)
# create a test encrypted message
test_begin_subtest 'emacs delivery of encrypted message'