]> git.cworth.org Git - notmuch/blobdiff - test/test-lib.sh
cli/show: produce "email" element in sigstatus
[notmuch] / test / test-lib.sh
index 23f7c8f80aaf741cf81a8f2af249cfc05675b94b..67ad88539e393a1c5c4858a55631d83bab7631c5 100644 (file)
@@ -131,10 +131,13 @@ add_gnupg_home () {
     # Change this if we ship a new test key
     FINGERPRINT="5AEAB11F5E33DCE875DDB75B6D92612D94E46381"
     SELF_USERID="Notmuch Test Suite <test_suite@notmuchmail.org> (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; }