]> git.cworth.org Git - notmuch/commit
Test: fix draft test for emacs23
authorMark Walters <markwalters1009@gmail.com>
Mon, 14 Nov 2016 13:49:28 +0000 (13:49 +0000)
committerDavid Bremner <david@tethera.net>
Mon, 14 Nov 2016 22:01:36 +0000 (18:01 -0400)
commit70c6ac377b29fd17d62d97d13a4c5223bf7785cb
tree2d00cab3ba078c488785f571b7aa3207b6138031
parent2dd96d6bd642c3b32ce1997528f69665019b7497
Test: fix draft test for emacs23

emacs24 and emacs23 have different secure tag defaults: in particular,
mml-secure-message-sign only signs the part on emacs23 but the whole
message on emacs24. This difference makes one of the draft tests fail
(which causes a cascade of later failures) on emacs23. It seems that
travis uses emacs23 so it is useful to fix this.

We do this by forcing the whole message to be signed in either case --
the code snippet is extracted from mml-secure-message-sign on emacs24.
test/T630-emacs-draft.sh