]> git.cworth.org Git - notmuch/commitdiff
test/emacs: match mml settings in emacs_{fcc,deliver}_message
authorDavid Bremner <david@tethera.net>
Thu, 20 Jan 2022 00:50:49 +0000 (20:50 -0400)
committerDavid Bremner <david@tethera.net>
Wed, 26 Jan 2022 11:22:09 +0000 (07:22 -0400)
This will allow the sending of signed messages via smtp in the test
suite.

test/test-lib-emacs.sh

index dde32177aae035e27b215c5b6e721b984d36fd48..a298526d5fedc7a310ffc98d44bf753ae649efa6 100644 (file)
@@ -54,8 +54,9 @@ emacs_deliver_message () {
           (message-goto-body)
           (insert \"${body}\")
           $*
-          (notmuch-mua-send-and-exit))"
-
+          (let ((mml-secure-smime-sign-with-sender t)
+                (mml-secure-openpgp-sign-with-sender t))
+            (notmuch-mua-send-and-exit)))"
     # In case message was sent properly, client waits for confirmation
     # before exiting and resuming control here; therefore making sure
     # that server exits by sending (KILL) signal to it is safe.