mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-12-06 10:11:00 +01:00
Extract from ssl/del_ssl_crt-list.vtc the common part to produce ssl/del_ssl_crt-list.vtci which may be reused by QUIC and TCP from respectively quic/del_ssl_crt-list.vtc and ssl/del_ssl_crt-list.vtc thanks to "include" VTC command and VTC_SOCK_TYPE special vtest environment variable.
17 lines
734 B
Plaintext
17 lines
734 B
Plaintext
#REGTEST_TYPE=devel
|
|
|
|
# This reg-test uses the "del ssl crt-list" command to remove a line from a crt-list.
|
|
|
|
# It performs three requests towards a SSL/TCP frontend that uses simple.crt-list.
|
|
# Between the second and third requests, a line is deleted from the crt-list,
|
|
# which makes the third request fail since it would have used the deleted line
|
|
# and the strict-sni option is enabled on the frontend.
|
|
# Another test is performed as well. A line corresponding to the default instance
|
|
# of a frontend that does not have the strict-sni option enabled cannot be deleted.
|
|
|
|
varnishtest "Test the 'del ssl crt-list' feature of the CLI"
|
|
#REQUIRE_OPTIONS=OPENSSL
|
|
|
|
setenv VTC_SOCK_TYPE stream
|
|
include ${testdir}/../ssl/del_ssl_crt-list.vtci
|