REGTESTS: Use `feature cmd` for 2.5+ tests (2)

This patch effectively is identical to 7ba98480cc.
This commit is contained in:
Tim Duesterhus 2021-11-04 21:12:14 +01:00 committed by Christopher Faulet
parent 284fbe1214
commit 41922af957
6 changed files with 8 additions and 13 deletions

View File

@ -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 {

View File

@ -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

View File

@ -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

View File

@ -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 {

View File

@ -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
#

View File

@ -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 {