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:
parent
239785fd27
commit
534b09f2a2
2
reg-tests/cache/caching_rules.vtc
vendored
2
reg-tests/cache/caching_rules.vtc
vendored
@ -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 {
|
||||
|
2
reg-tests/cache/post_on_entry.vtc
vendored
2
reg-tests/cache/post_on_entry.vtc
vendored
@ -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 {
|
||||
|
2
reg-tests/cache/vary.vtc
vendored
2
reg-tests/cache/vary.vtc
vendored
@ -1,7 +1,5 @@
|
||||
varnishtest "Vary support"
|
||||
|
||||
#REQUIRE_VERSION=2.4
|
||||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
server s1 {
|
||||
|
2
reg-tests/cache/vary_accept_encoding.vtc
vendored
2
reg-tests/cache/vary_accept_encoding.vtc
vendored
@ -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 {
|
||||
|
@ -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
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
varnishtest "Health-checks"
|
||||
feature ignore_unknown_macro
|
||||
|
||||
#REQUIRE_VERSION=2.4
|
||||
#EXCLUDE_TARGETS=freebsd,osx,generic
|
||||
#REGTEST_TYPE=slow
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
varnishtest "Health-check test"
|
||||
feature ignore_unknown_macro
|
||||
|
||||
#REQUIRE_VERSION=2.4
|
||||
#EXCLUDE_TARGETS=freebsd
|
||||
#REGTEST_TYPE=slow
|
||||
|
||||
|
@ -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
|
||||
|
@ -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 {
|
||||
|
@ -1,5 +1,4 @@
|
||||
varnishtest "Test the http-reuse with special connection parameters"
|
||||
#REQUIRE_VERSION=2.4
|
||||
#REQUIRE_OPTIONS=OPENSSL
|
||||
|
||||
feature ignore_unknown_macro
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -1,7 +1,5 @@
|
||||
varnishtest "Test connection upgrades from TCP to HTTP"
|
||||
|
||||
#REQUIRE_VERSION=2.4
|
||||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
server s1 {
|
||||
|
@ -1,5 +1,4 @@
|
||||
varnishtest "fix converters Test"
|
||||
#REQUIRE_VERSION=2.4
|
||||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
varnishtest "JSON Query converters Test"
|
||||
#REQUIRE_VERSION=2.4
|
||||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,7 +1,5 @@
|
||||
varnishtest "url_enc converter test"
|
||||
|
||||
#REQUIRE_VERSION=2.4
|
||||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
server s1 {
|
||||
|
@ -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
|
||||
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -12,8 +12,6 @@ varnishtest "WebSocket test"
|
||||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
#REQUIRE_VERSION=2.4
|
||||
|
||||
# valid websocket server
|
||||
server s1 {
|
||||
rxreq
|
||||
|
@ -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.
|
||||
|
@ -1,5 +1,4 @@
|
||||
varnishtest "normalize-uri tests"
|
||||
#REQUIRE_VERSION=2.4
|
||||
|
||||
# This reg-test tests the http-request normalize-uri action.
|
||||
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -1,7 +1,5 @@
|
||||
varnishtest "Hash validity test"
|
||||
|
||||
#REQUIRE_VERSION=2.4
|
||||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
server s1 {
|
||||
|
@ -1,7 +1,5 @@
|
||||
varnishtest "ub64dec sample fetche Test"
|
||||
|
||||
#REQUIRE_VERSION=2.4
|
||||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
haproxy h1 -conf {
|
||||
|
@ -2,8 +2,6 @@ varnishtest "Add server via cli"
|
||||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
#REQUIRE_VERSION=2.4
|
||||
|
||||
server s1 {
|
||||
rxreq
|
||||
txresp
|
||||
|
@ -5,8 +5,6 @@ varnishtest "Delete server via cli"
|
||||
|
||||
feature ignore_unknown_macro
|
||||
|
||||
#REQUIRE_VERSION=2.4
|
||||
|
||||
# static server
|
||||
server s1 -repeat 3 {
|
||||
rxreq
|
||||
|
@ -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
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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_*"
|
||||
|
||||
|
@ -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 {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user