2018-06-20 05:26:44 +00:00
|
|
|
# commit 84c844eb12b250aa86f2aadaff77c42dfc3cb619
|
|
|
|
# BUG/MINOR: spoe: Initialize variables used during conf parsing before any check
|
|
|
|
#
|
|
|
|
# Some initializations must be done at the beginning of parse_spoe_flt to avoid
|
2020-03-10 07:06:11 +00:00
|
|
|
# segmentation fault when first errors are caught, when the "filter spoe" line is
|
2018-06-20 05:26:44 +00:00
|
|
|
# parsed.
|
|
|
|
|
2019-03-29 14:07:24 +00:00
|
|
|
#REGTEST_TYPE=bug
|
|
|
|
|
2018-06-20 05:26:44 +00:00
|
|
|
varnishtest "SPOE bug: missing configuration file"
|
|
|
|
|
2018-08-21 13:29:24 +00:00
|
|
|
feature ignore_unknown_macro
|
|
|
|
|
2018-06-20 05:26:44 +00:00
|
|
|
haproxy h1 -conf-BAD {} {
|
2024-03-15 08:08:08 +00:00
|
|
|
global
|
|
|
|
.if version_atleast(3.0-dev6)
|
|
|
|
expose-deprecated-directives
|
|
|
|
.endif
|
|
|
|
|
2018-06-20 05:26:44 +00:00
|
|
|
defaults
|
2021-11-18 16:46:22 +00:00
|
|
|
timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
|
|
|
|
timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
|
|
|
|
timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
|
2018-06-20 05:26:44 +00:00
|
|
|
|
|
|
|
frontend my-front
|
|
|
|
filter spoe
|
|
|
|
}
|