]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTESTS: Remove REQUIRE_VERSION=2.2 from all tests
authorTim Duesterhus <tim@bastelstu.be>
Wed, 29 May 2024 17:55:33 +0000 (19:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 29 May 2024 20:36:15 +0000 (22:36 +0200)
HAProxy 2.2 is the lowest supported version, thus this always matches.

see 7aff1bf6b90caadfa95f6b43b526275191991d6f

41 files changed:
reg-tests/checks/http-check-expect.vtc
reg-tests/checks/http-check.vtc
reg-tests/checks/http-monitor-uri.vtc
reg-tests/checks/ldap-check.vtc
reg-tests/checks/mysql-check.vtc
reg-tests/checks/pgsql-check.vtc
reg-tests/checks/redis-check.vtc
reg-tests/checks/smtp-check.vtc
reg-tests/checks/spop-check.vtc
reg-tests/checks/ssl-hello-check.vtc
reg-tests/checks/tcp-check-ssl.vtc
reg-tests/checks/tcp-check_min-recv.vtc
reg-tests/connection/http_reuse_aggressive.vtc
reg-tests/connection/http_reuse_always.vtc
reg-tests/connection/http_reuse_never.vtc
reg-tests/connection/http_reuse_safe.vtc
reg-tests/connection/proxy_protocol_send_generic.vtc
reg-tests/connection/proxy_protocol_send_unique_id.vtc
reg-tests/connection/proxy_protocol_send_unique_id_alpn.vtc
reg-tests/converter/digest.vtc
reg-tests/converter/hmac.vtc
reg-tests/converter/secure_memcmp.vtc
reg-tests/http-errorfiles/http-error.vtc
reg-tests/http-errorfiles/http_deny_errors.vtc
reg-tests/http-errorfiles/http_errors.vtc
reg-tests/http-errorfiles/http_return.vtc
reg-tests/http-messaging/http_msg_full_on_eom.vtc
reg-tests/http-rules/http_after_response.vtc
reg-tests/http-rules/http_return.vtc
reg-tests/http-rules/path_and_pathq.vtc
reg-tests/http-rules/strict_rw_mode.vtc
reg-tests/lua/set_var.vtc
reg-tests/sample_fetches/so_name.vtc
reg-tests/ssl/add_ssl_crt-list.vtc
reg-tests/ssl/del_ssl_crt-list.vtc
reg-tests/ssl/set_ssl_bug_2265.vtc
reg-tests/ssl/set_ssl_cert.vtc
reg-tests/ssl/set_ssl_cert_noext.vtc
reg-tests/ssl/ssl_server_samples.vtc
reg-tests/ssl/ssl_simple_crt-list.vtc
reg-tests/stream/unique-id-from-proxy.vtc

index 637eec69ac15351484bd2d9fb119191d79e49956..118eef6d81a9a9244e62279577834b201239945f 100644 (file)
@@ -1,6 +1,5 @@
 varnishtest "Health-checks: some http-check expect tests"
 feature ignore_unknown_macro
-#REQUIRE_VERSION=2.2
 #REGTEST_TYPE=slow
 # This script tests http-check expect rules.
 
index 335306075c4fc22f4de765ff2ba4bfc0326c4803..0cb6a167c5385e50fe26d7a7e12a53698ff4972e 100644 (file)
@@ -1,6 +1,5 @@
 varnishtest "Health-checks: some http-check tests"
 feature ignore_unknown_macro
-#REQUIRE_VERSION=2.2
 #REGTEST_TYPE=slow
 # This script tests HTTP health-checks.
 
index b6c8ccb494b5e750425c89875e0409d677ee4a1a..26e6e8136b445987215ab61440e43bf289b6d7eb 100644 (file)
@@ -1,5 +1,4 @@
 varnishtest "Test the HTTP directive monitor-uri"
-#REQUIRE_VERSION=2.2
 
 # 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
index a0e550916adfaba2ffe272b23b4bf91dd14a75a7..38204bf3b3b7b36154d5ff72f8d5669390dfd423 100644 (file)
@@ -1,5 +1,4 @@
 varnishtest "Health-checks: LDAP health-check"
-#REQUIRE_VERSION=2.2
 #REGTEST_TYPE=slow
 feature ignore_unknown_macro
 
index b2348c388b08ee084145dff5fd12735a1ed57057..3600138065356751546557cdb3096c127e83721b 100644 (file)
@@ -1,5 +1,4 @@
 varnishtest "Health-checks: MySQL health-check"
-#REQUIRE_VERSION=2.2
 #REGTEST_TYPE=slow
 feature ignore_unknown_macro
 
index 2c9c65b0e07c87b7f104ea72824d97e8cb10bfff..5003e7df104d7dbfddf820f1974133715e4a0401 100644 (file)
@@ -1,5 +1,4 @@
 varnishtest "Health-checks: PostgreSQL health-check"
-#REQUIRE_VERSION=2.2
 #REGTEST_TYPE=slow
 feature ignore_unknown_macro
 
index 78b6ed35f46190edd008353fae7565d330194563..3c74c93e85ad770487220e100ef18f431b32053a 100644 (file)
@@ -1,5 +1,4 @@
 varnishtest "Health-checks: Redis health-check"
-#REQUIRE_VERSION=2.2
 #REGTEST_TYPE=slow
 feature ignore_unknown_macro
 
index 723f5f0485f80d23b764940e0703a1b3e0af09e8..6a5f7b79dbe3cfef6ae0b160cca7c48c586b610b 100644 (file)
@@ -1,5 +1,4 @@
 varnishtest "Health-checks: SMTP health-check"
-#REQUIRE_VERSION=2.2
 #REGTEST_TYPE=slow
 feature ignore_unknown_macro
 
index 93cef594540fca39fbeba7181ec9488cc6d6c141..202476cc71f590b07e730457fd4a4d426f2e0b11 100644 (file)
@@ -1,5 +1,4 @@
 varnishtest "Health-checks: SPOP health-check"
-#REQUIRE_VERSION=2.2
 #REGTEST_TYPE=slow
 feature ignore_unknown_macro
 
index 49abc0b0036ab0bc52fbc918a6ef92c8d0b7d1f5..7cabfabc8d71c4170e91af90bedb36a50dd28b40 100644 (file)
@@ -1,6 +1,5 @@
 varnishtest "Health-checks: ssl-hello health-check"
 #REQUIRE_OPTION=OPENSSL
-#REQUIRE_VERSION=2.2
 #REGTEST_TYPE=slow
 feature ignore_unknown_macro
 
index 6ac1782bb9403eb35a977e2b7da3c941dcf36612..9ad0dfab5151f9307b24431e830836ea57edcf65 100644 (file)
@@ -1,6 +1,5 @@
 varnishtest "Health-checks: tcp-check health-check with ssl options"
 #REQUIRE_OPTION=OPENSSL
-#REQUIRE_VERSION=2.2
 #REGTEST_TYPE=slow
 feature ignore_unknown_macro
 
index 81f93e002f5824b80da503ddded77a2148281a76..b5b2aabb7782980959a501eb85c9f3f075b739f2 100644 (file)
@@ -1,7 +1,6 @@
 varnishtest "tcp-check negative bounded regex match"
 #EXCLUDE_TARGETS=freebsd,osx,generic
 #REGTEST_TYPE=slow
-#REQUIRE_VERSION=2.2
 # This test use a negative expect rule and verify that setting a required
 # minimum amount of data to match.
 feature ignore_unknown_macro
index 71f4cee7422c69c66629d8bd5668872bb1891fd1..a7b9ff76c41ce8bffed827bd0e629676f3d4ff6f 100644 (file)
@@ -1,7 +1,5 @@
 varnishtest "Test the http-reuse aggressive mode"
 
-#REQUIRE_VERSION=2.2
-
 feature ignore_unknown_macro
 
 haproxy h1 -conf {
index 3dbd7c05f0457d7000367309a99599f69f563687..f9f00b3fd0081074ed9ce9c3dc3b97f37399b9cf 100644 (file)
@@ -1,7 +1,5 @@
 varnishtest "Test the http-reuse always mode"
 
-#REQUIRE_VERSION=2.2
-
 feature ignore_unknown_macro
 
 haproxy h1 -W -conf {
index fc746310c2626a49403452d88710adb850c0822d..f7fabec4c0d4d84b53420724395878edfaa94295 100644 (file)
@@ -1,7 +1,5 @@
 varnishtest "Test the http-reuse never mode"
 
-#REQUIRE_VERSION=2.2
-
 feature ignore_unknown_macro
 
 haproxy h1 -conf {
index fa00dd4ef00c4fce14983125d63a4662a3601f8b..b15f7c0032b37e898ab36274b723effe3104d1e0 100644 (file)
@@ -1,7 +1,5 @@
 varnishtest "Test the http-reuse safe mode"
 
-#REQUIRE_VERSION=2.2
-
 feature ignore_unknown_macro
 
 haproxy h1 -conf {
index 605f38cf2a2c4db89f98b778e8cf067d06839030..af42dd342e32cfb7a5ca94c232a4bb8294661bfc 100644 (file)
@@ -1,7 +1,5 @@
 varnishtest "Check that generic TLV IDs are sent properly"
 
-#REQUIRE_VERSION=2.2
-
 feature ignore_unknown_macro
 
 haproxy h1 -conf {
index 4f6b848e70dd17aca8d2b85256f057e72b9f0db0..590137ec7830565d1734448ce27080b5ac9c8eb7 100644 (file)
@@ -1,7 +1,5 @@
 varnishtest "Check that the unique ID TLV is properly sent"
 
-#REQUIRE_VERSION=2.2
-
 feature ignore_unknown_macro
 
 haproxy h1 -conf {
index 87e590a9b62d68e16103233114ec1f4ff708fba6..09b968efe607f33b980854bcca15c9432d87bfe2 100644 (file)
@@ -1,6 +1,5 @@
 varnishtest "Check that the unique ID TLV is properly sent for servers with ALPN option"
 
-#REQUIRE_VERSION=2.2
 #REQUIRE_OPTIONS=OPENSSL
 
 feature ignore_unknown_macro
index e911ff49276fb2d7099c0a4a46bcec7f5daaacad..fff0ae398eb7d3499b6ae98ff9ee11eb06ab07ed 100644 (file)
@@ -1,6 +1,5 @@
 varnishtest "digest converter Test"
 
-#REQUIRE_VERSION=2.2
 #REQUIRE_OPTION=OPENSSL
 
 feature ignore_unknown_macro
index 230a44d6d03d2d0842b66471bdd9cd3c3f7f9b62..13729f650ccb53172da6eea46378f1b81a081c33 100644 (file)
@@ -1,6 +1,5 @@
 varnishtest "HMAC converter Test"
 
-#REQUIRE_VERSION=2.2
 #REQUIRE_OPTION=OPENSSL
 
 feature ignore_unknown_macro
index 6ff74e6e45a1cd327edd88d480320de1a7fd7573..dfda40ec3740a7b51edd50b30dceef779b271a9f 100644 (file)
@@ -1,6 +1,5 @@
 varnishtest "secure_memcmp converter Test"
 
-#REQUIRE_VERSION=2.2
 #REQUIRE_OPTION=OPENSSL
 
 feature ignore_unknown_macro
index 1af909b76ef6ef039f252bae0a5b1bd09348667c..6d82f28280a76342db4849ae1148f449cbbcccad 100644 (file)
@@ -1,11 +1,9 @@
 varnishtest "Test the http-error directive"
-#REQUIRE_VERSION=2.2
 
 # This config tests the http-error directive.
 
 feature ignore_unknown_macro
 
-
 haproxy h1 -conf {
     http-errors errors-1
         errorfile 400  ${testdir}/errors/400-1.http
index 353045db2428ebb16f4294a0df79394d73004b2f..befec708e2df782177adfa70eb4b8d70ad36a184 100644 (file)
@@ -1,11 +1,9 @@
 varnishtest "Test the custom errors for HTTP deny rules"
-#REQUIRE_VERSION=2.2
 
 # This config tests the custom errors for HTTP deny rules.
 
 feature ignore_unknown_macro
 
-
 haproxy h1 -conf {
     http-errors errors-1
         errorfile 400  ${testdir}/errors/400-1.http
index 6b20be724d4adb731a74bb08a10ddaa829186af3..4bc2276741bc557f0d9624896c57c0625174f537 100644 (file)
@@ -1,11 +1,9 @@
 varnishtest "Test the errorfiles directive"
-#REQUIRE_VERSION=2.2
 
 # This config tests the errorfiles directive.
 
 feature ignore_unknown_macro
 
-
 haproxy h1 -conf {
     http-errors errors-1
         errorfile 400  ${testdir}/errors/400-1.http
index 8db77a9b198fa9d1e56f69b55f06327091bb17ef..b7750501c8e0198b9fe17249fa301e6e3b7ea3c2 100644 (file)
@@ -1,5 +1,4 @@
 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
 # the client.
index 2edba7db2d2205c82692a1eab20b2b077b2340f8..f02666f1f8b9a8e4ffb2aec800e5a630c557b6c8 100644 (file)
@@ -1,7 +1,6 @@
 varnishtest "cannot add the HTX EOM block because the buffer is full"
 feature ignore_unknown_macro
 
-#REQUIRE_VERSION=2.2
 #REQUIRE_VERSION_BELOW=2.4
 #REGTEST_TYPE=devel
 
index 7e8cc1d4e30ad94d342aa0248e30618f3ffd5438..871cc27730a862431429613086ebb3a865addb58 100644 (file)
@@ -1,5 +1,4 @@
 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
 # server and the stats applet, but also for internal responses
index ae9677539a250f38b82db3d8c91531070c5a8b13..f292353cdc62910cea8b1756b713cf5413426f4b 100644 (file)
@@ -1,5 +1,4 @@
 varnishtest "Test the HTTP return action"
-#REQUIRE_VERSION=2.2
 
 # This config tests the HTTP return action.
 
index 31e85be668426d16ea5fa0b81cda916fc1293a7e..971cbe2d5d7b52f461fb5a2f13c1e5faf26d65eb 100644 (file)
@@ -1,5 +1,4 @@
 varnishtest "path vs pathq tests"
-#REQUIRE_VERSION=2.2
 
 # 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
index 14e6901459aaa3374c04d237c6023bc91ecda789..89a4548f7ee6ad183d1b720cd81168ee3ae8520e 100644 (file)
@@ -1,5 +1,4 @@
 varnishtest "Test the strict rewriting mode"
-#REQUIRE_VERSION=2.2
 
 # This config tests the strict-mode of HTTP rules.
 
index 0c8a4b162f8fdf1ccfbcbf62ec4a9952d6912865..780c882c3cfd99b9fc7e45c94ff7a44abbe3db7b 100644 (file)
@@ -1,5 +1,4 @@
 varnishtest "Lua: set_var"
-#REQUIRE_VERSION=2.2
 #REQUIRE_OPTIONS=LUA
 
 feature ignore_unknown_macro
index c6211fa54dbb9e94f81b33e602cad11f1fd2e670..72028a2b9fef7f6f277f9c0447f758a69d024954 100644 (file)
@@ -1,7 +1,5 @@
 varnishtest "so_name sample fetche Test"
 
-#REQUIRE_VERSION=2.2
-
 feature ignore_unknown_macro
 
 haproxy h1 -conf {
index 8810b72a81e5f380fb03788a7d41577d1551de0a..fbf3817386d67b18ed975401dc79ddbb1a3b2572 100644 (file)
@@ -11,7 +11,6 @@
 # - Check that you have socat
 
 varnishtest "Test the 'add ssl crt-list' feature of the CLI"
-#REQUIRE_VERSION=2.2
 #REQUIRE_OPTIONS=OPENSSL
 feature cmd "command -v socat"
 feature ignore_unknown_macro
index 83eda245ff9831af29067644af708a242e83e6b9..5cf4c6af32b0dfde6750f66e3f669c8d66cf6938 100644 (file)
@@ -10,7 +10,6 @@
 # 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"
-#REQUIRE_VERSION=2.2
 #REQUIRE_OPTIONS=OPENSSL
 feature ignore_unknown_macro
 
index 21e837a5450aee3b7f3041b9cc5f8d37e6f66d2f..e743c0a81880ae7771c7241df235759150dc392a 100644 (file)
@@ -14,7 +14,6 @@
 # - Check that you have socat
 
 varnishtest "Test the 'set ssl cert' feature of the CLI with separate key and crt"
-#REQUIRE_VERSION=2.2
 #REQUIRE_OPTIONS=OPENSSL
 feature cmd "command -v socat"
 feature ignore_unknown_macro
index 9d4d5a020c44831cb4a629fe1380fa8449f647ca..70a6f5ee016233db6a4cb9ba95e82edfbbcba192 100644 (file)
@@ -20,7 +20,6 @@
 # - Check that you have socat
 
 varnishtest "Test the 'set ssl cert' feature of the CLI"
-#REQUIRE_VERSION=2.2
 #REQUIRE_OPTIONS=OPENSSL
 feature cmd "command -v socat"
 feature ignore_unknown_macro
index 43267110591965608e1e9a2dfd7c7f45cd896ed2..8eb8b24ddde1b8a2ba61443050e9504218a3430a 100644 (file)
@@ -12,7 +12,6 @@
 # - Check that you have socat
 
 varnishtest "Test the 'set ssl cert' feature of the CLI with separate key and crt"
-#REQUIRE_VERSION=2.2
 #REQUIRE_OPTIONS=OPENSSL
 feature cmd "command -v socat"
 feature ignore_unknown_macro
index cd97634d356d7f31d73c9c975d8e0463758c7c9a..c037523b120a9de169645f40e29bc4b54e77c317 100644 (file)
@@ -1,7 +1,6 @@
 #REGTEST_TYPE=devel
 
 varnishtest "Test the ssl_s_* sample fetches"
-#REQUIRE_VERSION=2.2
 #REQUIRE_OPTIONS=OPENSSL
 feature ignore_unknown_macro
 
index 7f150561b9395d7500f5763f60afcf45ed3e4435..f7b03a2753d3ead641cb8910231c762c3b00e5f6 100644 (file)
@@ -2,7 +2,6 @@
 varnishtest "Test for the bug #940"
 # Test that the SNI are correctly inserted with the same file multiple times.
 
-#REQUIRE_VERSION=2.2
 #REQUIRE_OPTIONS=OPENSSL
 feature ignore_unknown_macro
 
index eaac065970e77fb14d5340f94815faf97780169a..fc91f257d0f9fa7ce83f5d721a2e4180e0db1403 100644 (file)
@@ -1,7 +1,5 @@
 varnishtest "Check that we are able to read a unique-id from PROXYv2"
 
-#REQUIRE_VERSION=2.2
-
 feature ignore_unknown_macro
 
 haproxy h1 -conf {