aboutsummaryrefslogtreecommitdiff
path: root/test/test-lib.sh
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2019-05-07 07:20:49 -0300
committerDavid Bremner <david@tethera.net>2019-05-10 06:56:22 -0300
commitf2425a11a3735a726bab60d4942ce82f77c47950 (patch)
tree49efc46749526427b3910fa83c6caf0c50216ef3 /test/test-lib.sh
parente1c8357c441d4e70fb28838dead5a490f4663b87 (diff)
test: let the OS choose a port for smtp-dummy
This should avoid potential collisions if we start running multiple smtp-dummy processes in parallel.
Diffstat (limited to 'test/test-lib.sh')
-rw-r--r--test/test-lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-lib.sh b/test/test-lib.sh
index f5d367aa..507886ba 100644
--- a/test/test-lib.sh
+++ b/test/test-lib.sh
@@ -326,7 +326,7 @@ emacs_deliver_message ()
"(let ((message-send-mail-function 'message-smtpmail-send-it)
(mail-host-address \"example.com\")
(smtpmail-smtp-server \"localhost\")
- (smtpmail-smtp-service \"25025\"))
+ (smtpmail-smtp-service \"${smtp_dummy_port}\"))
(notmuch-mua-mail)
(message-goto-to)
(insert \"test_suite@notmuchmail.org\nDate: 01 Jan 2000 12:00:00 -0000\")