summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>2021-10-11 15:34:14 +0200
committerWilliam Lallemand <wlallemand@haproxy.org>2021-10-12 16:52:02 +0200
commit18cd0ecf98765bec3c8e79f04437da846df1bab7 (patch)
tree36f6bee21f0c411cad87fae772cecfadb17820ea
parentf6ffa0347bfaa2a7895759cf024d9d3eed6e60e3 (diff)
downloadhaproxy-18cd0ecf98765bec3c8e79f04437da846df1bab7.tar.gz
REGTESTS: ssl: Reenable ssl_errors test for OpenSSL only
The test is strongly dependent on the way the errors are output by the SSL library so it is not possible to perform the same checks when using OpenSSL or LibreSSL. It is then reenabled for OpenSSL (whatever the version) but still disabled for LibreSSL. This limitation is added thanks to the new ssllib_name_startswith precondition check.
-rw-r--r--reg-tests/ssl/ssl_errors.vtc4
1 files changed, 2 insertions, 2 deletions
diff --git a/reg-tests/ssl/ssl_errors.vtc b/reg-tests/ssl/ssl_errors.vtc
index 109edd31b..49ee8c0ac 100644
--- a/reg-tests/ssl/ssl_errors.vtc
+++ b/reg-tests/ssl/ssl_errors.vtc
@@ -1,4 +1,4 @@
-#REGTEST_TYPE=broken
+#REGTEST_TYPE=devel
# This reg-test checks that the connection and SSL sample fetches related to
# errors are functioning properly. It also tests the proper behaviour of the
@@ -25,7 +25,7 @@
varnishtest "Test the connection and SSL error fetches."
feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev2)'"
-feature cmd "$HAPROXY_PROGRAM -cc 'feature(OPENSSL)'"
+feature cmd "$HAPROXY_PROGRAM -cc 'feature(OPENSSL) && ssllib_name_startswith(OpenSSL)'"
feature cmd "command -v socat"
feature ignore_unknown_macro