]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTESTS: ssl_crt-list_filters: feature cmd incorrectly set
authorWilliam Lallemand <wlallemand@haproxy.org>
Wed, 17 Nov 2021 01:49:16 +0000 (02:49 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 17 Nov 2021 13:08:58 +0000 (14:08 +0100)
The feature cmd was incorrectly set to:

feature cmd "$HAPROXY_PROGRAM -cc 'feature(OPENSSL)' && 'openssl_version_atleast(1.1.1)'"

Which was incorrect since the quotes must surrendered the -cc argument.

Also the test requires openssl and does not work with libressl.

reg-tests/ssl/ssl_crt-list_filters.vtc

index b945de082d014c297d1af40420b31e029108d75b..483531d70fbd7185f5ae7e509ee6a19fb7dc3f71 100644 (file)
@@ -1,6 +1,6 @@
 #REGTEST_TYPE=bug
 varnishtest "Test for the bug #810 and #818"
-feature cmd "$HAPROXY_PROGRAM -cc 'feature(OPENSSL)' && 'openssl_version_atleast(1.1.1)'"
+feature cmd "$HAPROXY_PROGRAM -cc 'feature(OPENSSL) && ssllib_name_startswith(OpenSSL) && openssl_version_atleast(1.1.1)'"
 # This test checks if the multiple certificate types works correctly with the
 # SNI, and that the negative filters are correctly excluded