games.cfg loads a Lua TCP service. Checking that configuration used to
leak the private rule data allocated by action_register_service_tcp()
when the process exits. The leak is fixed in "BUG/MINOR: hlua: release
private Lua rule data on teardown". Add the config to the ASan smoke
unit test so LeakSanitizer reports a regression in CI.

This is a test-only change. It may be backported together with the fix
for GitHub issue #3480.
---
 tests/unit/smoke/test.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/unit/smoke/test.sh b/tests/unit/smoke/test.sh
index 5d221ad3c..1726ed754 100755
--- a/tests/unit/smoke/test.sh
+++ b/tests/unit/smoke/test.sh
@@ -7,6 +7,7 @@ check() {
 run() {
        ${HAPROXY_PROGRAM} -dI -f ${ROOTDIR}/.github/h2spec.config -c
        ${HAPROXY_PROGRAM} -dI -f ${ROOTDIR}/examples/content-sw-sample.cfg -c
+       ${HAPROXY_PROGRAM} -dI -f ${ROOTDIR}/examples/games.cfg -c
        ${HAPROXY_PROGRAM} -dI -f ${ROOTDIR}/examples/option-http_proxy.cfg -c
        ${HAPROXY_PROGRAM} -dI -f ${ROOTDIR}/examples/quick-test.cfg -c
        ${HAPROXY_PROGRAM} -dI -f ${ROOTDIR}/examples/transparent_proxy.cfg -c
-- 
2.55.0



Reply via email to