summaryrefslogtreecommitdiff
path: root/tests/email-print-mime-structure.sh
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2019-12-03 16:48:18 -0500
committerSean Whitton <spwhitton@spwhitton.name>2019-12-04 07:16:43 -0700
commit5bf7da153e965b59e44ee0df77c589a9e0a8bacc (patch)
tree13f27a9b24a8f5f723f513de8bd0dcddf02626ee /tests/email-print-mime-structure.sh
parentf3e1e5a552db990b2213ef850e056ecb7995558d (diff)
downloadmailscripts-5bf7da153e965b59e44ee0df77c589a9e0a8bacc.tar.gz
email-print-mime-structure: Avoid test suite dependency on dirmngr
There is no clear reason why gpgsm should try to invoke dirmngr (see https://dev.gnupg.org/T4765), but for now we can explicitly avoid the checks. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'tests/email-print-mime-structure.sh')
-rwxr-xr-xtests/email-print-mime-structure.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/email-print-mime-structure.sh b/tests/email-print-mime-structure.sh
index b45294e..dd14e44 100755
--- a/tests/email-print-mime-structure.sh
+++ b/tests/email-print-mime-structure.sh
@@ -30,7 +30,7 @@ for eml in tests/email-print-mime-structure/*.eml; do
testgpghome=$(mktemp -d)
printf "Testing %s (GnuPG S/MIME)\n" "${eml##*/}"
- gpgsm --pinentry-mode=loopback --passphrase-fd 4 4<<<'' --homedir="$testgpghome" --batch --quiet --import <"$p12key"
+ gpgsm --disable-dirmngr --pinentry-mode=loopback --passphrase-fd 4 4<<<'' --homedir="$testgpghome" --batch --quiet --import <"$p12key"
GNUPGHOME="$testgpghome" test_eml "$base" --use-gpg-agent
rm -rf "$testgpghome"
else