REGTESTS: ssl: re-enable set_ssl_cert_bundle.vtc

The new "ssllib_name_startswith(OpenSSL)" command allows us to
reactivate set_ssl_cert_bundle.vtc with >= OpenSSL 1.1.1 only.
This commit is contained in:
William Lallemand 2021-10-14 11:06:16 +02:00
parent 493bb1db10
commit e5dfd405b3

View File

@ -1,4 +1,4 @@
#REGTEST_TYPE=broken #REGTEST_TYPE=devel
# This reg-test uses the "set ssl cert" command to update a multi-certificate # This reg-test uses the "set ssl cert" command to update a multi-certificate
# bundle over the CLI. # bundle over the CLI.
@ -12,11 +12,12 @@
# #
# If this test does not work anymore: # If this test does not work anymore:
# - Check that you have socat # - Check that you have socat
# - Check that you have at least OpenSSL 1.1.0 # - Check that you have at least OpenSSL 1.1.1
varnishtest "Test the 'set ssl cert' feature of the CLI with bundles" varnishtest "Test the 'set ssl cert' feature of the CLI with bundles"
#REQUIRE_VERSION=2.3 # could work with haproxy 2.3 but the -cc is not available
#REQUIRE_OPTIONS=OPENSSL feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev9)'"
feature cmd "$HAPROXY_PROGRAM -cc 'feature(OPENSSL) && ssllib_name_startswith(OpenSSL) && openssl_version_atleast(1.1.1)'"
feature cmd "command -v socat" feature cmd "command -v socat"
feature ignore_unknown_macro feature ignore_unknown_macro