]> git.notmuchmail.org Git - notmuch/commitdiff
test: Explicitly state that we want to sign with sender
authorJonas Bernoulli <jonas@bernoul.li>
Mon, 27 Jul 2020 15:25:03 +0000 (17:25 +0200)
committerDavid Bremner <david@tethera.net>
Tue, 28 Jul 2020 11:40:30 +0000 (08:40 -0300)
Since Emacs 27 'mml-secure-epg-sign' errors out if we don't opt-in to
signing as the sender using 'mml-secure-openpgp-sign-with-sender'.

test/test-lib.sh

index 8c331b882d2f02786679dcbdbbf0121c4762e476..31c858d11d1e6f03eb67d2e26011468e4df8c15e 100644 (file)
@@ -414,7 +414,9 @@ emacs_fcc_message ()
           (message-goto-body)
           (insert \"${body}\")
           $*
-          (notmuch-mua-send-and-exit))" || return 1
+          (let ((mml-secure-smime-sign-with-sender t)
+                (mml-secure-openpgp-sign-with-sender t))
+            (notmuch-mua-send-and-exit)))" || return 1
     notmuch new $nmn_args >/dev/null
 }