blob: 152622c5e46756d10544ec96b66c95aa5952a558 [file] [log] [blame]
Frédéric Lécaille9b53b4c2018-06-20 07:26:44 +02001# commit 84c844eb12b250aa86f2aadaff77c42dfc3cb619
2# BUG/MINOR: spoe: Initialize variables used during conf parsing before any check
3#
4# Some initializations must be done at the beginning of parse_spoe_flt to avoid
Ilya Shipitsin77e3b4a2020-03-10 12:06:11 +05005# segmentation fault when first errors are caught, when the "filter spoe" line is
Frédéric Lécaille9b53b4c2018-06-20 07:26:44 +02006# parsed.
7
Frédéric Lécailledc1a3bd2019-03-29 15:07:24 +01008#REGTEST_TYPE=bug
9
Frédéric Lécaille9b53b4c2018-06-20 07:26:44 +020010varnishtest "SPOE bug: missing configuration file"
11
Frédéric Lécaillefe5463e2018-08-21 15:29:24 +020012feature ignore_unknown_macro
13
Frédéric Lécaille9b53b4c2018-06-20 07:26:44 +020014haproxy h1 -conf-BAD {} {
15 defaults
Willy Tarreauf6739232021-11-18 17:46:22 +010016 timeout connect "${HAPROXY_TEST_TIMEOUT-5s}"
17 timeout client "${HAPROXY_TEST_TIMEOUT-5s}"
18 timeout server "${HAPROXY_TEST_TIMEOUT-5s}"
Frédéric Lécaille9b53b4c2018-06-20 07:26:44 +020019
20 frontend my-front
21 filter spoe
22}