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>
Tue, 27 May 2025 12:59:20 +0000 (14:59 +0200)
commit32e80070e28489369dbcd5239661410cd28496db
treee736d68bf73b0007fb4f3c0fc885122e8464ea11
parent90ce6153820b13fdf294f54794ed5a841c7b805c
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.

(cherry picked from commit 2808e3577fb72b693198c3f4e8f9284cb69675b3)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
reg-tests/lua/close_wait_lf.vtc
reg-tests/ssl/ocsp_compat_check.vtc