REGTESTS: Remove REQUIRE_VERSION=2.4 from all tests

HAProxy 2.4 is the lowest supported version, thus this always matches.

see 7aff1bf6b90caadfa95f6b43b526275191991d6f
This commit is contained in:
Tim Duesterhus 2025-06-01 15:26:38 +02:00 committed by Christopher Faulet
parent 239785fd27
commit 534b09f2a2
36 changed files with 1 additions and 57 deletions

View File

@ -2,8 +2,6 @@ varnishtest "Caching rules test"
# A response will not be cached unless it has an explicit age (Cache-Control max-age of s-maxage, Expires) or a validator (Last-Modified, or ETag)
# A response will not be cached either if it has an Age header that is either invalid (should be an integer) or greater than its max age.
#REQUIRE_VERSION=2.4
feature ignore_unknown_macro
server s1 {

View File

@ -1,7 +1,5 @@
varnishtest "A successful unsafe method (POST for instance) on a cached entry must disable it."
#REQUIRE_VERSION=2.4
feature ignore_unknown_macro
server s1 {

View File

@ -1,7 +1,5 @@
varnishtest "Vary support"
#REQUIRE_VERSION=2.4
feature ignore_unknown_macro
server s1 {

View File

@ -1,7 +1,5 @@
varnishtest "Check the Accept-Encoding processing implemented in the Vary mechanism"
#REQUIRE_VERSION=2.4
feature ignore_unknown_macro
server s1 {

View File

@ -6,7 +6,6 @@ feature ignore_unknown_macro
# The first health-checks passed tests are checked for all these servers
# thanks to syslog messages.
#REQUIRE_VERSION=2.4
#EXCLUDE_TARGETS=freebsd
#REGTEST_TYPE=slow

View File

@ -1,7 +1,6 @@
varnishtest "Health-checks"
feature ignore_unknown_macro
#REQUIRE_VERSION=2.4
#EXCLUDE_TARGETS=freebsd,osx,generic
#REGTEST_TYPE=slow

View File

@ -1,7 +1,6 @@
varnishtest "Health-check test"
feature ignore_unknown_macro
#REQUIRE_VERSION=2.4
#EXCLUDE_TARGETS=freebsd
#REGTEST_TYPE=slow

View File

@ -1,6 +1,5 @@
varnishtest "Health-checks: http-check send test"
#REGTEST_TYPE=slow
#REQUIRE_VERSION=2.4
feature ignore_unknown_macro
# This script tests HTTP health-checks and more particularly the "http-check

View File

@ -5,8 +5,6 @@ feature cmd "$HAPROXY_PROGRAM -cc 'feature(TPROXY)'"
# as private and should only be reused for requests of the same session.
# This is similar to the http-reuse never mode
#REQUIRE_VERSION=2.4
feature ignore_unknown_macro
haproxy h1 -conf {

View File

@ -1,5 +1,4 @@
varnishtest "Test the http-reuse with special connection parameters"
#REQUIRE_VERSION=2.4
#REQUIRE_OPTIONS=OPENSSL
feature ignore_unknown_macro

View File

@ -4,8 +4,6 @@ varnishtest "Test the proper interaction between http-reuse and dispatch mode"
# reused for requests of the same session
# This is similar to the http-reuse never mode
#REQUIRE_VERSION=2.4
feature ignore_unknown_macro
haproxy h1 -conf {

View File

@ -1,7 +1,5 @@
varnishtest "Check that the TLVs are properly validated"
#REQUIRE_VERSION=2.4
feature ignore_unknown_macro
# We need one HAProxy for each test, because apparently the connection by

View File

@ -1,7 +1,5 @@
varnishtest "Test connection upgrades from TCP to HTTP"
#REQUIRE_VERSION=2.4
feature ignore_unknown_macro
server s1 {

View File

@ -1,5 +1,4 @@
varnishtest "fix converters Test"
#REQUIRE_VERSION=2.4
feature ignore_unknown_macro

View File

@ -1,5 +1,4 @@
varnishtest "JSON Query converters Test"
#REQUIRE_VERSION=2.4
feature ignore_unknown_macro

View File

@ -1,5 +1,4 @@
varnishtest "mqtt converters Test"
#REQUIRE_VERSION=2.4
feature ignore_unknown_macro
@ -235,4 +234,4 @@ client c3_31_1 -connect ${h1_fe1_sock} {
# Valid MQTT 3.1 CONNECT packet (id: test_sub - username: test - passwd: passwd)
sendhex "102400064d514973647003c200000008746573745f7375620004746573740006706173737764"
recv 4
} -run
} -run

View File

@ -1,7 +1,5 @@
varnishtest "url_enc converter test"
#REQUIRE_VERSION=2.4
feature ignore_unknown_macro
server s1 {

View File

@ -1,6 +1,5 @@
varnishtest "Filtering test with several filters and random forwarding (via trace filter)"
#REQUIRE_VERSION=2.4
#REQUIRE_OPTION=ZLIB|SLZ
#REGTEST_TYPE=slow

View File

@ -1,8 +1,6 @@
varnishtest "A test to be sure payload is skipped for bodyless responses"
feature ignore_unknown_macro
#REQUIRE_VERSION=2.4
server s1 {
rxreq
txresp \

View File

@ -5,8 +5,6 @@ feature cmd "$HAPROXY_PROGRAM $HAPROXY_ARGS -cc 'enabled(FAST-FORWARD)'"
feature cmd "$HAPROXY_PROGRAM $HAPROXY_ARGS -cc 'enabled(SPLICE)'"
feature ignore_unknown_macro
#REQUIRE_VERSION=2.4
server s1 {
rxreq
txresp \

View File

@ -1,7 +1,6 @@
varnishtest "A test for the wait-for-body HTTP action"
feature ignore_unknown_macro
#REQUIRE_VERSION=2.4
#REGTEST_TYPE=slow
server s1 {

View File

@ -8,8 +8,6 @@ varnishtest "h1/h2 support for protocol upgrade test"
feature ignore_unknown_macro
#REQUIRE_VERSION=2.4
# http/1.1 server
server srv_h1 {
rxreq

View File

@ -12,8 +12,6 @@ varnishtest "WebSocket test"
feature ignore_unknown_macro
#REQUIRE_VERSION=2.4
# valid websocket server
server s1 {
rxreq

View File

@ -1,5 +1,4 @@
varnishtest "Test IPv4/IPv6 except param for the forwardfor and originalto options"
#REQUIRE_VERSION=2.4
# This config tests the except parameter for the HTTP forwardfor and originalto
# options.

View File

@ -1,5 +1,4 @@
varnishtest "normalize-uri tests"
#REQUIRE_VERSION=2.4
# This reg-test tests the http-request normalize-uri action.

View File

@ -2,8 +2,6 @@ varnishtest "http-request set-timeout test"
feature ignore_unknown_macro
#REQUIRE_VERSION=2.4
server srv_h1 -repeat 9 {
rxreq
txresp

View File

@ -1,8 +1,6 @@
varnishtest "Verify logging of relative/absolute URI path"
feature ignore_unknown_macro
#REQUIRE_VERSION=2.4
server s1 {
rxreq
txresp -hdr "Connection: close"

View File

@ -1,6 +1,5 @@
varnishtest "Lua: txn:get_priv() scope"
#REQUIRE_OPTIONS=LUA,OPENSSL
#REQUIRE_VERSION=2.4
#REGTEST_TYPE=bug
feature ignore_unknown_macro

View File

@ -1,7 +1,5 @@
varnishtest "Hash validity test"
#REQUIRE_VERSION=2.4
feature ignore_unknown_macro
server s1 {

View File

@ -1,7 +1,5 @@
varnishtest "ub64dec sample fetche Test"
#REQUIRE_VERSION=2.4
feature ignore_unknown_macro
haproxy h1 -conf {

View File

@ -2,8 +2,6 @@ varnishtest "Add server via cli"
feature ignore_unknown_macro
#REQUIRE_VERSION=2.4
server s1 {
rxreq
txresp

View File

@ -5,8 +5,6 @@ varnishtest "Delete server via cli"
feature ignore_unknown_macro
#REQUIRE_VERSION=2.4
# static server
server s1 -repeat 3 {
rxreq

View File

@ -3,7 +3,6 @@ varnishtest "Set server ssl via CLI"
feature ignore_unknown_macro
# for "set server <srv> ssl"
#REQUIRE_VERSION=2.4
#REGTEST_TYPE=devel
#REQUIRE_OPTIONS=OPENSSL

View File

@ -6,7 +6,6 @@ varnishtest "Delete server via cli and update certificates"
feature ignore_unknown_macro
#REQUIRE_VERSION=2.4
#REQUIRE_OPTIONS=OPENSSL
feature cmd "command -v socat"

View File

@ -15,7 +15,6 @@
# This should be backported to 1.8
#REGTEST_TYPE=bug
#REQUIRE_VERSION=2.4
varnishtest "stick-tables: Test expirations when used with table_*"

View File

@ -6,8 +6,6 @@ feature ignore_unknown_macro
# do the job they are supposed to do.
# If we remove one of the "stick on" rule, this script fails.
#REQUIRE_VERSION=2.4
server s_not_used_1 {}
server s_not_used_2 {}
server s_not_used_3 {}