]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTESTS: replace REQUIRE_VERSION by version_atleast
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 3 May 2024 14:32:30 +0000 (16:32 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 3 May 2024 14:35:12 +0000 (16:35 +0200)
REQUIRE_VERSION usage is deprecated in regtests for version >= 2.5. This
allows to specify full correct 3.0-dev9 version.

reg-tests/stats/stats-file.vtc

index 204a4158bb6d1979a1960ac9095e38a958752398..d7c501a82172cdbb42108aebe7bb72fb4aa70f34 100644 (file)
@@ -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