mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-20 21:31:28 +02:00
REGTESTS: Replace REQUIRE_VERSION=2.5 with 'haproxy -cc'
This is safe, because running `haproxy -cc 'version_atleast(2.5-dev0)'` on HAProxy 2.4 will also result in an exit code of 1.
This commit is contained in:
parent
8a91fa4219
commit
5efc48dcf1
@ -4,7 +4,7 @@ feature ignore_unknown_macro
|
|||||||
# NOTE : This test may fail if too many vtest are running in parallel because
|
# NOTE : This test may fail if too many vtest are running in parallel because
|
||||||
# the port reserved for closed s1 server may be reused by another vtest
|
# the port reserved for closed s1 server may be reused by another vtest
|
||||||
|
|
||||||
#REQUIRE_VERSION=2.5
|
feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
|
||||||
#REGTEST_TYPE=slow
|
#REGTEST_TYPE=slow
|
||||||
|
|
||||||
# b1 : Don't send /c4 before /c3 was received by s2 server
|
# b1 : Don't send /c4 before /c3 was received by s2 server
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
# - Check that you have socat
|
# - Check that you have socat
|
||||||
|
|
||||||
varnishtest "Test the 'new ssl ca-file' and 'del ssl ca-file' commands of the CLI"
|
varnishtest "Test the 'new ssl ca-file' and 'del ssl ca-file' commands of the CLI"
|
||||||
#REQUIRE_VERSION=2.5
|
feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
|
||||||
#REQUIRE_OPTIONS=OPENSSL
|
#REQUIRE_OPTIONS=OPENSSL
|
||||||
#REQUIRE_BINARIES=socat
|
#REQUIRE_BINARIES=socat
|
||||||
feature ignore_unknown_macro
|
feature ignore_unknown_macro
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
# - Check that you have socat
|
# - Check that you have socat
|
||||||
|
|
||||||
varnishtest "Test the 'new ssl crl-file' and 'del ssl crl-file' commands of the CLI"
|
varnishtest "Test the 'new ssl crl-file' and 'del ssl crl-file' commands of the CLI"
|
||||||
#REQUIRE_VERSION=2.5
|
feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
|
||||||
#REQUIRE_OPTIONS=OPENSSL
|
#REQUIRE_OPTIONS=OPENSSL
|
||||||
#REQUIRE_BINARIES=socat
|
#REQUIRE_BINARIES=socat
|
||||||
feature ignore_unknown_macro
|
feature ignore_unknown_macro
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
# - Check that you have socat
|
# - Check that you have socat
|
||||||
|
|
||||||
varnishtest "Test the 'set ssl ca-file' feature of the CLI"
|
varnishtest "Test the 'set ssl ca-file' feature of the CLI"
|
||||||
#REQUIRE_VERSION=2.5
|
feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
|
||||||
#REQUIRE_OPTIONS=OPENSSL
|
#REQUIRE_OPTIONS=OPENSSL
|
||||||
#REQUIRE_BINARIES=socat
|
#REQUIRE_BINARIES=socat
|
||||||
feature ignore_unknown_macro
|
feature ignore_unknown_macro
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
# - Check that you have socat
|
# - Check that you have socat
|
||||||
|
|
||||||
varnishtest "Test the 'set ssl crl-file' feature of the CLI"
|
varnishtest "Test the 'set ssl crl-file' feature of the CLI"
|
||||||
#REQUIRE_VERSION=2.5
|
feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
|
||||||
#REQUIRE_OPTIONS=OPENSSL
|
#REQUIRE_OPTIONS=OPENSSL
|
||||||
#REQUIRE_BINARIES=socat
|
#REQUIRE_BINARIES=socat
|
||||||
feature ignore_unknown_macro
|
feature ignore_unknown_macro
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
# - Check that you have socat
|
# - Check that you have socat
|
||||||
|
|
||||||
varnishtest "Test the 'show ssl ocsp-response' and 'show ssl cert foo.pem.ocsp' features of the CLI"
|
varnishtest "Test the 'show ssl ocsp-response' and 'show ssl cert foo.pem.ocsp' features of the CLI"
|
||||||
#REQUIRE_VERSION=2.5
|
feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
|
||||||
#REQUIRE_OPTIONS=OPENSSL
|
#REQUIRE_OPTIONS=OPENSSL
|
||||||
#REQUIRE_BINARIES=socat
|
#REQUIRE_BINARIES=socat
|
||||||
feature ignore_unknown_macro
|
feature ignore_unknown_macro
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
varnishtest "Tests the -cc argument"
|
varnishtest "Tests the -cc argument"
|
||||||
|
|
||||||
#REQUIRE_VERSION=2.5
|
|
||||||
feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
|
feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
|
||||||
|
|
||||||
shell {
|
shell {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user