diff options
author | Mark Walters <markwalters1009@gmail.com> | 2013-10-12 08:36:30 +0100 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2013-10-14 08:23:07 -0300 |
commit | 48231337b7ead05d77d0961b034df89871789d0a (patch) | |
tree | a194136d284d4414fa2fa82446a34e687c5b26cd /test | |
parent | 6878b0b2aa0a74377e02cb9e8af84e799b668add (diff) |
test: set mail host in emacs_deliver
One test (reply to encrypted message in the crypto test) recently
started failing on some systems. The failure I saw were two extra
lines of the form
<87d2nbc5xg.fsf@host.i-did-not-set--mail-host-address--so-tickle-me>
The test pipes the output through
grep -v -e '^In-Reply-To:' -e '^References:'
which would normally these two ids but it does not, in this case,
because they are so long they get put on a separate line in the output.
To fix this we set mail-host-address for emacs deliver. example.com
seems a sensible address to use. This is short enough that we don't
get the line breaks above and the tests then all pass.
Diffstat (limited to 'test')
-rw-r--r-- | test/test-lib.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test-lib.sh b/test/test-lib.sh index d3a8c58e..2aa4dfc9 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -445,6 +445,7 @@ emacs_deliver_message () test_emacs \ "(let ((message-send-mail-function 'message-smtpmail-send-it) + (mail-host-address \"example.com\") (smtpmail-smtp-server \"localhost\") (smtpmail-smtp-service \"25025\")) (notmuch-hello) |