REGTEST: make check_condition.vtc fail as soon as possible
authorWilly Tarreau <w@1wt.eu>
Sat, 17 Jul 2021 08:54:46 +0000 (10:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 17 Jul 2021 08:56:32 +0000 (10:56 +0200)
commitb333db3fd246bf65e3bf0461f3ff638123bf9839
treeeacae664c527d42dd1bc0ee83b751364495e56ea
parent316ea7ede5f34309e1b81c9a0dc77cbe5282c1b1
REGTEST: make check_condition.vtc fail as soon as possible

The test consists in a sequence of shell commands, but the shell is not
necessarily started with strict errors enabled, so only the last command
provides the verdict. Let's add "set -e" to make it fail on the first
test that fails.
reg-tests/startup/check_condition.vtc