tests/invocation: Disable set -e

There's just waaayy too many things that could go wrong with it, so it
annoys more than it helps, especially since we don't get any
indication what failed.

E.g. on FreeBSD, the test failed without a usable message just because
`tput` couldn't find an attribute (so colors were unset).
This commit is contained in:
Fabian Homborg 2019-01-16 11:47:38 +01:00
parent 6c1a2c1f30
commit de32665939

View file

@ -54,8 +54,12 @@
# non-zero.
#
# Errors will be fatal
set -e
# With this, errors would be fatal.
# However, a return value of non-zero doesn't signal something that necessarily should be fatal.
# For instance, `tput` returns 1 if an attribute isn't defined.
# But we don't want it to kill our script, especially not without any indication.
#
# set -e
# The directory this script is in (as everything is relative to here)
here="$(cd "$(dirname "$0")" && pwd -P)"