From: William Lallemand Date: Fri, 2 Oct 2026 13:26:49 +0000 (+0200) Subject: REGTESTS: cli: don't check the HAProxy string X-Git-Tag: v3.5-dev9~213 X-Git-Url: https://git.kaiwu.me/?a=commitdiff_plain;h=0864cb4c99c842738e39275992e4d8164695ac9b;p=haproxy.git REGTESTS: cli: don't check the HAProxy string Don't check the HAProxy string on "show info" since it can be changed with -DPRODUCT_NAME, but check the "Name:" string instead. --- diff --git a/reg-tests/cli/levels.vtc b/reg-tests/cli/levels.vtc index 1e251837a..8db413145 100644 --- a/reg-tests/cli/levels.vtc +++ b/reg-tests/cli/levels.vtc @@ -52,7 +52,7 @@ haproxy h1 -cli { send "user; show stat" expect ~ "\n# pxname,svname,qcur" send "user; show info" - expect ~ "Name: HAProxy" + expect ~ "Name: .*" # changing a global setting requires admin send "set maxconn global 1234; show info" diff --git a/reg-tests/cli/show_commands.vtc b/reg-tests/cli/show_commands.vtc index 4d6c87c43..a2aaf5eff 100644 --- a/reg-tests/cli/show_commands.vtc +++ b/reg-tests/cli/show_commands.vtc @@ -77,7 +77,7 @@ haproxy h1 -cli { expect ~ "^# pxname,svname,qcur" send "show info" - expect ~ "Name: HAProxy" + expect ~ "Name: .*" send "show schema json" expect ~ "json-schema.org"