From: Amaury Denoyelle Date: Fri, 3 May 2024 14:32:30 +0000 (+0200) Subject: REGTESTS: replace REQUIRE_VERSION by version_atleast X-Git-Tag: v3.0-dev10~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=437062255e340e1f0ebd96338e8fe2d8e77086df;p=thirdparty%2Fhaproxy.git REGTESTS: replace REQUIRE_VERSION by version_atleast REQUIRE_VERSION usage is deprecated in regtests for version >= 2.5. This allows to specify full correct 3.0-dev9 version. --- diff --git a/reg-tests/stats/stats-file.vtc b/reg-tests/stats/stats-file.vtc index 204a4158bb..d7c501a821 100644 --- a/reg-tests/stats/stats-file.vtc +++ b/reg-tests/stats/stats-file.vtc @@ -1,9 +1,8 @@ varnishtest "Preload counters via stats-file" +feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(3.0-dev9)'" feature ignore_unknown_macro -#REQUIRE_VERSION=3.0 - haproxy h1 -conf { global stats-file ${testdir}/sample-stats-file