]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REGTESTS: ssl: wrong feature cmd in show_ssl_ocspresponse.vtc
authorWilliam Lallemand <wlallemand@haproxy.org>
Thu, 30 Sep 2021 16:45:18 +0000 (18:45 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 30 Sep 2021 16:45:18 +0000 (18:45 +0200)
The "feature cmd" needs to be separated in 2 parts to check the openssl
command.

reg-tests/ssl/show_ssl_ocspresponse.vtc

index 86cbc8d62433515fec4c0079de078249f98a3b11..3809366ab74a1698872a3a243d5e46f3dfccc18d 100644 (file)
@@ -22,7 +22,7 @@
 varnishtest "Test the 'show ssl ocsp-response' and 'show ssl cert foo.pem.ocsp' features of the CLI"
 feature cmd "$HAPROXY_PROGRAM -cc 'version_atleast(2.5-dev0)'"
 feature cmd "$HAPROXY_PROGRAM -cc 'feature(OPENSSL)'"
-feature cmd "command -v socat openssl"
+feature cmd "command -v socat && command -v openssl"
 feature ignore_unknown_macro
 
 haproxy h1 -conf {