mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-22 11:20:59 +01:00
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:
parent
cb560bf3d7
commit
59b313832a
@ -127,7 +127,7 @@ haproxy h13 -conf-BAD {} {
|
|||||||
bind "fd@${feh10}"
|
bind "fd@${feh10}"
|
||||||
}
|
}
|
||||||
|
|
||||||
haproxy h14 -conf-OK {
|
haproxy h14 -arg -V -conf-OK {
|
||||||
defaults tcp
|
defaults tcp
|
||||||
tcp-response inspect-delay 5s
|
tcp-response inspect-delay 5s
|
||||||
tcp-response content accept
|
tcp-response content accept
|
||||||
@ -162,7 +162,7 @@ haproxy h16 -conf-BAD {} {
|
|||||||
server www 127.0.0.1:80
|
server www 127.0.0.1:80
|
||||||
}
|
}
|
||||||
|
|
||||||
haproxy h17 -conf-OK {
|
haproxy h17 -arg -V -conf-OK {
|
||||||
defaults common
|
defaults common
|
||||||
mode http
|
mode http
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user