From: Baptiste Daroussin Date: Mon, 26 May 2025 12:47:16 +0000 (+0200) Subject: Fix tests when there is an actual mailserver running on the host X-Git-Tag: RELEASE_1.5.1~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=07a694c7525f8e067653eed7a032828c9898d83e;p=thirdparty%2Fmlmmj.git Fix tests when there is an actual mailserver running on the host --- diff --git a/tests/mlmmj-process.in b/tests/mlmmj-process.in index 1741cd3d..989647d3 100644 --- a/tests/mlmmj-process.in +++ b/tests/mlmmj-process.in @@ -77,6 +77,8 @@ From: sender@yeah Bcc: list@test EOF echo "list@test" > list/control/listaddress +# ensure we don't try to really send email to a real mailserver + echo "25678" > list/control/smtpport rmdir list/text ln -s ${top_srcdir}/listtexts/en list/text atf_check -s exit:0 $mlmmjprocess -L list -m mailfile