]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTESTS: use lua mailer script for mailers tests
authorAurelien DARRAGON <adarragon@haproxy.com>
Wed, 3 May 2023 14:55:52 +0000 (16:55 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 5 May 2023 14:28:32 +0000 (16:28 +0200)
commit7963fb5669ee2dbef5c4765b83afe6d336f4c8c5
treed77b627119deec6b898572f7ad372fdfe9612029
parente0b16355ce13d802b284cd0e421d2c925557e492
REGTESTS: use lua mailer script for mailers tests

Since mailers/healthcheckmail.vtc already requires lua to emulate the
SMTP server for the test, force it to use lua mailers example script
to send email-alerts so we don't rely anymore on legacy tcpcheck
mailers implementation.

This is done by simply loading examples/mailers.lua (as a symlink) from
haproxy config file.
reg-tests/mailers/healthcheckmail.vtc
reg-tests/mailers/mailers.lua [new symlink]