mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
REGTESTS: run-regtests: match both "HAProxy" and "HA-Proxy" in the version
The script checks the HAProxy version and was looking for "HA-Proxy" which is hard-coded in haproxy.c, let's relax the test to also accept "HAProxy".
This commit is contained in:
parent
9f0843f4e2
commit
5f3448f6de
1 changed files with 1 additions and 1 deletions
|
|
@ -345,7 +345,7 @@ if [ $preparefailed ]; then
|
|||
fi
|
||||
|
||||
{ read HAPROXY_VERSION; read TARGET; read FEATURES; read SERVICES; } << EOF
|
||||
$($HAPROXY_PROGRAM $HAPROXY_ARGS -vv | grep 'HA-Proxy version\|TARGET.*=\|^Feature\|^Available services' | sed 's/.* [:=] //')
|
||||
$($HAPROXY_PROGRAM $HAPROXY_ARGS -vv | grep 'HA-\?Proxy version\|TARGET.*=\|^Feature\|^Available services' | sed 's/.* [:=] //')
|
||||
EOF
|
||||
|
||||
HAPROXY_VERSION=$(echo $HAPROXY_VERSION | cut -d " " -f 3)
|
||||
|
|
|
|||
Loading…
Reference in a new issue