]> git.notmuchmail.org Git - notmuch/blobdiff - test/T630-emacs-draft.sh
fix out of tree tests
[notmuch] / test / T630-emacs-draft.sh
index 46fc356f7e6ce68cabc67f0e0ec8a0a92ea7c8bf..cd9e33a7c4057505986338b8716fd231b30e8643 100755 (executable)
@@ -32,7 +32,9 @@ test_begin_subtest "Saving a signed draft adds header"
 test_emacs '(notmuch-mua-mail)
            (message-goto-subject)
            (insert "draft-test-0003")
-           (mml-secure-message-sign)
+            ;; We would use (mml-secure-message-sign) but on emacs23
+            ;; that only signs the part, not the whole message.
+            (mml-secure-message mml-secure-method '\''sign)
            (notmuch-draft-save)
            (test-output)'
 header_count=$(notmuch show --format=raw subject:draft-test-0003 | grep -c ^X-Notmuch-Emacs-Secure)