]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTEST: ssl: improve the "set ssl cert" test
authorWilliam Lallemand <wlallemand@haproxy.org>
Thu, 30 Apr 2020 08:19:40 +0000 (10:19 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 30 Apr 2020 08:28:34 +0000 (10:28 +0200)
commita911548715999c5d0b4eccdb026a119d4817b960
tree736f4a31deaf3ec21435dd0ac2e1d0a48f885b51
parent3ed722f03c1b09a20a29f9c613e562de95eca35c
REGTEST: ssl: improve the "set ssl cert" test

Improve the test by removing the curl command and using the same proxy
chaining technique as in commit 3ed722f ("REGTEST: ssl: remove curl from
the "add ssl crt-list" test").

A 3rd request was added which must fail, to ensure that the SNI was
effectively removed from HAProxy.

This patch also adds timeouts in the default section, logs on stderr and
fix some indentation issues.
reg-tests/ssl/set_ssl_cert.vtc