X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Ftest-lib.sh;h=67ad88539e393a1c5c4858a55631d83bab7631c5;hb=8c29a5da096b0314c6cca8889b740b79a9a548ed;hp=23f7c8f80aaf741cf81a8f2af249cfc05675b94b;hpb=6f0f83660e222cfdd05b05ad134763a7ab26f097;p=notmuch diff --git a/test/test-lib.sh b/test/test-lib.sh index 23f7c8f8..67ad8853 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -131,10 +131,13 @@ add_gnupg_home () { # Change this if we ship a new test key FINGERPRINT="5AEAB11F5E33DCE875DDB75B6D92612D94E46381" SELF_USERID="Notmuch Test Suite (INSECURE!)" + SELF_EMAIL="test_suite@notmuchmail.org" printf '%s:6:\n' "$FINGERPRINT" | gpg --quiet --batch --no-tty --import-ownertrust } add_gpgsm_home () { + test_require_external_prereq openssl + local fpr [ -e "$GNUPGHOME/gpgsm.conf" ] && return _gnupg_exit () { gpgconf --kill all 2>/dev/null || true; }