]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTESTS: ssl: re-enable set_ssl_cert_bundle.vtc
authorWilliam Lallemand <wlallemand@haproxy.org>
Thu, 14 Oct 2021 09:06:16 +0000 (11:06 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 14 Oct 2021 09:06:16 +0000 (11:06 +0200)
The new "ssllib_name_startswith(OpenSSL)" command allows us to
reactivate set_ssl_cert_bundle.vtc with >= OpenSSL 1.1.1 only.

reg-tests/ssl/set_ssl_cert_bundle.vtc

index 11abdafdd0b2d11fbededa124c5262eb2ff9dc19..eba00deca137841d06478a4587ee3696c5e1aabe 100644 (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
 # bundle over the CLI.
 #
 # If this test does not work anymore:
 # - 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"
-#REQUIRE_VERSION=2.3
-#REQUIRE_OPTIONS=OPENSSL
+# could work with haproxy 2.3 but the -cc is not available
+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 ignore_unknown_macro