]> git.notmuchmail.org Git - notmuch/blobdiff - test/test-lib.sh
test: let the OS choose a port for smtp-dummy
[notmuch] / test / test-lib.sh
index f5d367aae2d71c161bd45a707b851b7c1a275221..507886ba83f97eb69ecad6e6d16693ac505d7cab 100644 (file)
@@ -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\")