]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTESTS: Explicitly allow failing shell commands in some scripts
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 26 May 2025 05:57:21 +0000 (07:57 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 26 May 2025 17:00:00 +0000 (19:00 +0200)
commit2808e3577fb72b693198c3f4e8f9284cb69675b3
tree1ddb6d560f626adc5575f633859273b2b7d910e0
parent82c291124882d75625122e7f81b965fa2853e720
REGTESTS: Explicitly allow failing shell commands in some scripts

Vtest2, that should replaced Vtest in few months, will reject any failing
commands in shell blocks. However, some scripts are executing some commands,
expecting an error to be able to parse the error output. So, now use "set
+e" in those scripts to explicitly state failing commads are expected.

It is just used for non-final commands. At the end, the shell block must
still report a success.
reg-tests/lua/close_wait_lf.vtc
reg-tests/ssl/ocsp_compat_check.vtc