diff --git a/reg-tests/connection/cli_src_dst.vtc b/reg-tests/connection/cli_src_dst.vtc index cc0c945452..fa12bc805a 100644 --- a/reg-tests/connection/cli_src_dst.vtc +++ b/reg-tests/connection/cli_src_dst.vtc @@ -1,7 +1,6 @@ varnishtest "Test multi-level client source and destination addresses" -#REQUIRE_VERSION=2.5 - +feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'" feature ignore_unknown_macro haproxy h1 -conf { diff --git a/reg-tests/http-messaging/http_transfer_encoding.vtc b/reg-tests/http-messaging/http_transfer_encoding.vtc index 543e965fad..258b8a9e8e 100644 --- a/reg-tests/http-messaging/http_transfer_encoding.vtc +++ b/reg-tests/http-messaging/http_transfer_encoding.vtc @@ -1,7 +1,7 @@ varnishtest "A test to validate Transfer-Encoding header conformance to the spec" -feature ignore_unknown_macro -#REQUIRE_VERSION=2.5 +feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'" +feature ignore_unknown_macro server s1 { rxreq diff --git a/reg-tests/http-messaging/srv_ws.vtc b/reg-tests/http-messaging/srv_ws.vtc index bce12f6b11..32369a1a3e 100644 --- a/reg-tests/http-messaging/srv_ws.vtc +++ b/reg-tests/http-messaging/srv_ws.vtc @@ -3,11 +3,10 @@ varnishtest "h2 backend websocket management via server keyword" +feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'" +feature cmd "$HAPROXY_PROGRAM -cc 'feature(OPENSSL)'" feature ignore_unknown_macro -#REQUIRE_VERSION=2.5 -#REQUIRE_OPTION=OPENSSL - # haproxy server haproxy hapsrv -conf { defaults diff --git a/reg-tests/http-rules/default_rules.vtc b/reg-tests/http-rules/default_rules.vtc index a72776c079..3baa33a92d 100644 --- a/reg-tests/http-rules/default_rules.vtc +++ b/reg-tests/http-rules/default_rules.vtc @@ -1,7 +1,6 @@ varnishtest "Test declaration of HTTP rules in default sections" -#REQUIRE_VERSION=2.5 - +feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'" feature ignore_unknown_macro server s1 { diff --git a/reg-tests/startup/default_rules.vtc b/reg-tests/startup/default_rules.vtc index 4c80513121..cd86f74143 100644 --- a/reg-tests/startup/default_rules.vtc +++ b/reg-tests/startup/default_rules.vtc @@ -1,7 +1,6 @@ varnishtest "Misuses of defaults section defining TCP/HTTP rules" -#REQUIRE_VERSION=2.5 - +feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'" feature ignore_unknown_macro # diff --git a/reg-tests/tcp-rules/default_rules.vtc b/reg-tests/tcp-rules/default_rules.vtc index 826a336cbe..a2e8ce9efa 100644 --- a/reg-tests/tcp-rules/default_rules.vtc +++ b/reg-tests/tcp-rules/default_rules.vtc @@ -1,7 +1,6 @@ varnishtest "Test declaration of TCP rules in default sections" -#REQUIRE_VERSION=2.5 - +feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'" feature ignore_unknown_macro server s1 {