aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2022-01-19 20:50:49 -0400
committerDavid Bremner <david@tethera.net>2022-01-26 07:22:09 -0400
commitc8d292e25b9e571c0ab5274cc20e23b4f0e979d1 (patch)
tree85f83d1028257ec2b47cca01ad617d1c6c78033d
parent3bf6487359b693af572867083da06de2663fb1f8 (diff)
test/emacs: match mml settings in emacs_{fcc,deliver}_message
This will allow the sending of signed messages via smtp in the test suite.
-rw-r--r--test/test-lib-emacs.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test-lib-emacs.sh b/test/test-lib-emacs.sh
index dde32177..a298526d 100644
--- a/test/test-lib-emacs.sh
+++ b/test/test-lib-emacs.sh
@@ -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.