REGTESTS: Remove REQUIRE_VERSION=2.2 from all tests

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

see 7aff1bf6b9
This commit is contained in:
Tim Duesterhus 2024-05-29 19:55:33 +02:00 committed by Willy Tarreau
parent 10418b6b5a
commit e349159a34
41 changed files with 0 additions and 52 deletions

View File

@ -1,6 +1,5 @@
varnishtest "Health-checks: some http-check expect tests" varnishtest "Health-checks: some http-check expect tests"
feature ignore_unknown_macro feature ignore_unknown_macro
#REQUIRE_VERSION=2.2
#REGTEST_TYPE=slow #REGTEST_TYPE=slow
# This script tests http-check expect rules. # This script tests http-check expect rules.

View File

@ -1,6 +1,5 @@
varnishtest "Health-checks: some http-check tests" varnishtest "Health-checks: some http-check tests"
feature ignore_unknown_macro feature ignore_unknown_macro
#REQUIRE_VERSION=2.2
#REGTEST_TYPE=slow #REGTEST_TYPE=slow
# This script tests HTTP health-checks. # This script tests HTTP health-checks.

View File

@ -1,5 +1,4 @@
varnishtest "Test the HTTP directive monitor-uri" varnishtest "Test the HTTP directive monitor-uri"
#REQUIRE_VERSION=2.2
# This config tests the HTTP directive monitor-uri. Especially the path matching # This config tests the HTTP directive monitor-uri. Especially the path matching
# when an absolute-form uri is received from the client. But also the # when an absolute-form uri is received from the client. But also the

View File

@ -1,5 +1,4 @@
varnishtest "Health-checks: LDAP health-check" varnishtest "Health-checks: LDAP health-check"
#REQUIRE_VERSION=2.2
#REGTEST_TYPE=slow #REGTEST_TYPE=slow
feature ignore_unknown_macro feature ignore_unknown_macro

View File

@ -1,5 +1,4 @@
varnishtest "Health-checks: MySQL health-check" varnishtest "Health-checks: MySQL health-check"
#REQUIRE_VERSION=2.2
#REGTEST_TYPE=slow #REGTEST_TYPE=slow
feature ignore_unknown_macro feature ignore_unknown_macro

View File

@ -1,5 +1,4 @@
varnishtest "Health-checks: PostgreSQL health-check" varnishtest "Health-checks: PostgreSQL health-check"
#REQUIRE_VERSION=2.2
#REGTEST_TYPE=slow #REGTEST_TYPE=slow
feature ignore_unknown_macro feature ignore_unknown_macro

View File

@ -1,5 +1,4 @@
varnishtest "Health-checks: Redis health-check" varnishtest "Health-checks: Redis health-check"
#REQUIRE_VERSION=2.2
#REGTEST_TYPE=slow #REGTEST_TYPE=slow
feature ignore_unknown_macro feature ignore_unknown_macro

View File

@ -1,5 +1,4 @@
varnishtest "Health-checks: SMTP health-check" varnishtest "Health-checks: SMTP health-check"
#REQUIRE_VERSION=2.2
#REGTEST_TYPE=slow #REGTEST_TYPE=slow
feature ignore_unknown_macro feature ignore_unknown_macro

View File

@ -1,5 +1,4 @@
varnishtest "Health-checks: SPOP health-check" varnishtest "Health-checks: SPOP health-check"
#REQUIRE_VERSION=2.2
#REGTEST_TYPE=slow #REGTEST_TYPE=slow
feature ignore_unknown_macro feature ignore_unknown_macro

View File

@ -1,6 +1,5 @@
varnishtest "Health-checks: ssl-hello health-check" varnishtest "Health-checks: ssl-hello health-check"
#REQUIRE_OPTION=OPENSSL #REQUIRE_OPTION=OPENSSL
#REQUIRE_VERSION=2.2
#REGTEST_TYPE=slow #REGTEST_TYPE=slow
feature ignore_unknown_macro feature ignore_unknown_macro

View File

@ -1,6 +1,5 @@
varnishtest "Health-checks: tcp-check health-check with ssl options" varnishtest "Health-checks: tcp-check health-check with ssl options"
#REQUIRE_OPTION=OPENSSL #REQUIRE_OPTION=OPENSSL
#REQUIRE_VERSION=2.2
#REGTEST_TYPE=slow #REGTEST_TYPE=slow
feature ignore_unknown_macro feature ignore_unknown_macro

View File

@ -1,7 +1,6 @@
varnishtest "tcp-check negative bounded regex match" varnishtest "tcp-check negative bounded regex match"
#EXCLUDE_TARGETS=freebsd,osx,generic #EXCLUDE_TARGETS=freebsd,osx,generic
#REGTEST_TYPE=slow #REGTEST_TYPE=slow
#REQUIRE_VERSION=2.2
# This test use a negative expect rule and verify that setting a required # This test use a negative expect rule and verify that setting a required
# minimum amount of data to match. # minimum amount of data to match.
feature ignore_unknown_macro feature ignore_unknown_macro

View File

@ -1,7 +1,5 @@
varnishtest "Test the http-reuse aggressive mode" varnishtest "Test the http-reuse aggressive mode"
#REQUIRE_VERSION=2.2
feature ignore_unknown_macro feature ignore_unknown_macro
haproxy h1 -conf { haproxy h1 -conf {

View File

@ -1,7 +1,5 @@
varnishtest "Test the http-reuse always mode" varnishtest "Test the http-reuse always mode"
#REQUIRE_VERSION=2.2
feature ignore_unknown_macro feature ignore_unknown_macro
haproxy h1 -W -conf { haproxy h1 -W -conf {

View File

@ -1,7 +1,5 @@
varnishtest "Test the http-reuse never mode" varnishtest "Test the http-reuse never mode"
#REQUIRE_VERSION=2.2
feature ignore_unknown_macro feature ignore_unknown_macro
haproxy h1 -conf { haproxy h1 -conf {

View File

@ -1,7 +1,5 @@
varnishtest "Test the http-reuse safe mode" varnishtest "Test the http-reuse safe mode"
#REQUIRE_VERSION=2.2
feature ignore_unknown_macro feature ignore_unknown_macro
haproxy h1 -conf { haproxy h1 -conf {

View File

@ -1,7 +1,5 @@
varnishtest "Check that generic TLV IDs are sent properly" varnishtest "Check that generic TLV IDs are sent properly"
#REQUIRE_VERSION=2.2
feature ignore_unknown_macro feature ignore_unknown_macro
haproxy h1 -conf { haproxy h1 -conf {

View File

@ -1,7 +1,5 @@
varnishtest "Check that the unique ID TLV is properly sent" varnishtest "Check that the unique ID TLV is properly sent"
#REQUIRE_VERSION=2.2
feature ignore_unknown_macro feature ignore_unknown_macro
haproxy h1 -conf { haproxy h1 -conf {

View File

@ -1,6 +1,5 @@
varnishtest "Check that the unique ID TLV is properly sent for servers with ALPN option" varnishtest "Check that the unique ID TLV is properly sent for servers with ALPN option"
#REQUIRE_VERSION=2.2
#REQUIRE_OPTIONS=OPENSSL #REQUIRE_OPTIONS=OPENSSL
feature ignore_unknown_macro feature ignore_unknown_macro

View File

@ -1,6 +1,5 @@
varnishtest "digest converter Test" varnishtest "digest converter Test"
#REQUIRE_VERSION=2.2
#REQUIRE_OPTION=OPENSSL #REQUIRE_OPTION=OPENSSL
feature ignore_unknown_macro feature ignore_unknown_macro

View File

@ -1,6 +1,5 @@
varnishtest "HMAC converter Test" varnishtest "HMAC converter Test"
#REQUIRE_VERSION=2.2
#REQUIRE_OPTION=OPENSSL #REQUIRE_OPTION=OPENSSL
feature ignore_unknown_macro feature ignore_unknown_macro

View File

@ -1,6 +1,5 @@
varnishtest "secure_memcmp converter Test" varnishtest "secure_memcmp converter Test"
#REQUIRE_VERSION=2.2
#REQUIRE_OPTION=OPENSSL #REQUIRE_OPTION=OPENSSL
feature ignore_unknown_macro feature ignore_unknown_macro

View File

@ -1,11 +1,9 @@
varnishtest "Test the http-error directive" varnishtest "Test the http-error directive"
#REQUIRE_VERSION=2.2
# This config tests the http-error directive. # This config tests the http-error directive.
feature ignore_unknown_macro feature ignore_unknown_macro
haproxy h1 -conf { haproxy h1 -conf {
http-errors errors-1 http-errors errors-1
errorfile 400 ${testdir}/errors/400-1.http errorfile 400 ${testdir}/errors/400-1.http

View File

@ -1,11 +1,9 @@
varnishtest "Test the custom errors for HTTP deny rules" varnishtest "Test the custom errors for HTTP deny rules"
#REQUIRE_VERSION=2.2
# This config tests the custom errors for HTTP deny rules. # This config tests the custom errors for HTTP deny rules.
feature ignore_unknown_macro feature ignore_unknown_macro
haproxy h1 -conf { haproxy h1 -conf {
http-errors errors-1 http-errors errors-1
errorfile 400 ${testdir}/errors/400-1.http errorfile 400 ${testdir}/errors/400-1.http

View File

@ -1,11 +1,9 @@
varnishtest "Test the errorfiles directive" varnishtest "Test the errorfiles directive"
#REQUIRE_VERSION=2.2
# This config tests the errorfiles directive. # This config tests the errorfiles directive.
feature ignore_unknown_macro feature ignore_unknown_macro
haproxy h1 -conf { haproxy h1 -conf {
http-errors errors-1 http-errors errors-1
errorfile 400 ${testdir}/errors/400-1.http errorfile 400 ${testdir}/errors/400-1.http

View File

@ -1,5 +1,4 @@
varnishtest "Test the HTTP return action with errorfiles" varnishtest "Test the HTTP return action with errorfiles"
#REQUIRE_VERSION=2.2
# This config tests the HTTP return action when error files are used to reply to # This config tests the HTTP return action when error files are used to reply to
# the client. # the client.

View File

@ -1,7 +1,6 @@
varnishtest "cannot add the HTX EOM block because the buffer is full" varnishtest "cannot add the HTX EOM block because the buffer is full"
feature ignore_unknown_macro feature ignore_unknown_macro
#REQUIRE_VERSION=2.2
#REQUIRE_VERSION_BELOW=2.4 #REQUIRE_VERSION_BELOW=2.4
#REGTEST_TYPE=devel #REGTEST_TYPE=devel

View File

@ -1,5 +1,4 @@
varnishtest "Test HTTP response manipulation under the http-after-response rulesets" varnishtest "Test HTTP response manipulation under the http-after-response rulesets"
#REQUIRE_VERSION=2.2
# This config tests various http-after-response rules for HTTP responses from a # This config tests various http-after-response rules for HTTP responses from a
# server and the stats applet, but also for internal responses # server and the stats applet, but also for internal responses

View File

@ -1,5 +1,4 @@
varnishtest "Test the HTTP return action" varnishtest "Test the HTTP return action"
#REQUIRE_VERSION=2.2
# This config tests the HTTP return action. # This config tests the HTTP return action.

View File

@ -1,5 +1,4 @@
varnishtest "path vs pathq tests" varnishtest "path vs pathq tests"
#REQUIRE_VERSION=2.2
# This config tests various http request rules (set/replace) manipulating the # This config tests various http request rules (set/replace) manipulating the
# path, with or without the query-string. It also test path and pathq sample # path, with or without the query-string. It also test path and pathq sample

View File

@ -1,5 +1,4 @@
varnishtest "Test the strict rewriting mode" varnishtest "Test the strict rewriting mode"
#REQUIRE_VERSION=2.2
# This config tests the strict-mode of HTTP rules. # This config tests the strict-mode of HTTP rules.

View File

@ -1,5 +1,4 @@
varnishtest "Lua: set_var" varnishtest "Lua: set_var"
#REQUIRE_VERSION=2.2
#REQUIRE_OPTIONS=LUA #REQUIRE_OPTIONS=LUA
feature ignore_unknown_macro feature ignore_unknown_macro

View File

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

View File

@ -11,7 +11,6 @@
# - Check that you have socat # - Check that you have socat
varnishtest "Test the 'add ssl crt-list' feature of the CLI" varnishtest "Test the 'add ssl crt-list' feature of the CLI"
#REQUIRE_VERSION=2.2
#REQUIRE_OPTIONS=OPENSSL #REQUIRE_OPTIONS=OPENSSL
feature cmd "command -v socat" feature cmd "command -v socat"
feature ignore_unknown_macro feature ignore_unknown_macro

View File

@ -10,7 +10,6 @@
# of a frontend that does not have the strict-sni option enabled cannot be deleted. # of a frontend that does not have the strict-sni option enabled cannot be deleted.
varnishtest "Test the 'del ssl crt-list' feature of the CLI" varnishtest "Test the 'del ssl crt-list' feature of the CLI"
#REQUIRE_VERSION=2.2
#REQUIRE_OPTIONS=OPENSSL #REQUIRE_OPTIONS=OPENSSL
feature ignore_unknown_macro feature ignore_unknown_macro

View File

@ -14,7 +14,6 @@
# - Check that you have socat # - Check that you have socat
varnishtest "Test the 'set ssl cert' feature of the CLI with separate key and crt" varnishtest "Test the 'set ssl cert' feature of the CLI with separate key and crt"
#REQUIRE_VERSION=2.2
#REQUIRE_OPTIONS=OPENSSL #REQUIRE_OPTIONS=OPENSSL
feature cmd "command -v socat" feature cmd "command -v socat"
feature ignore_unknown_macro feature ignore_unknown_macro

View File

@ -20,7 +20,6 @@
# - Check that you have socat # - Check that you have socat
varnishtest "Test the 'set ssl cert' feature of the CLI" varnishtest "Test the 'set ssl cert' feature of the CLI"
#REQUIRE_VERSION=2.2
#REQUIRE_OPTIONS=OPENSSL #REQUIRE_OPTIONS=OPENSSL
feature cmd "command -v socat" feature cmd "command -v socat"
feature ignore_unknown_macro feature ignore_unknown_macro

View File

@ -12,7 +12,6 @@
# - Check that you have socat # - Check that you have socat
varnishtest "Test the 'set ssl cert' feature of the CLI with separate key and crt" varnishtest "Test the 'set ssl cert' feature of the CLI with separate key and crt"
#REQUIRE_VERSION=2.2
#REQUIRE_OPTIONS=OPENSSL #REQUIRE_OPTIONS=OPENSSL
feature cmd "command -v socat" feature cmd "command -v socat"
feature ignore_unknown_macro feature ignore_unknown_macro

View File

@ -1,7 +1,6 @@
#REGTEST_TYPE=devel #REGTEST_TYPE=devel
varnishtest "Test the ssl_s_* sample fetches" varnishtest "Test the ssl_s_* sample fetches"
#REQUIRE_VERSION=2.2
#REQUIRE_OPTIONS=OPENSSL #REQUIRE_OPTIONS=OPENSSL
feature ignore_unknown_macro feature ignore_unknown_macro

View File

@ -2,7 +2,6 @@
varnishtest "Test for the bug #940" varnishtest "Test for the bug #940"
# Test that the SNI are correctly inserted with the same file multiple times. # Test that the SNI are correctly inserted with the same file multiple times.
#REQUIRE_VERSION=2.2
#REQUIRE_OPTIONS=OPENSSL #REQUIRE_OPTIONS=OPENSSL
feature ignore_unknown_macro feature ignore_unknown_macro

View File

@ -1,7 +1,5 @@
varnishtest "Check that we are able to read a unique-id from PROXYv2" varnishtest "Check that we are able to read a unique-id from PROXYv2"
#REQUIRE_VERSION=2.2
feature ignore_unknown_macro feature ignore_unknown_macro
haproxy h1 -conf { haproxy h1 -conf {