REGTESTS: startup: -conf-OK requires -V with current VTest

Current version of VTest tests the output of "haproxy -c" instead of the
return code. Since we don't output anymore when the configuration is
valid, this broke the test. (a06f621).

This fixes the issue by adding the -V when doing a -conf-OK. But this
must fixed in VTest.
This commit is contained in:
William Lallemand 2023-11-13 14:38:36 +01:00
parent cb560bf3d7
commit 59b313832a

View File

@ -127,7 +127,7 @@ haproxy h13 -conf-BAD {} {
bind "fd@${feh10}"
}
haproxy h14 -conf-OK {
haproxy h14 -arg -V -conf-OK {
defaults tcp
tcp-response inspect-delay 5s
tcp-response content accept
@ -162,7 +162,7 @@ haproxy h16 -conf-BAD {} {
server www 127.0.0.1:80
}
haproxy h17 -conf-OK {
haproxy h17 -arg -V -conf-OK {
defaults common
mode http