Loading
test/common: Enable inherit_errexit
Do this to detect and trap failures inside subshell environments. Without it, we simply fall through expecting the "upper" layer of the test to handle the failure. If such handling is not implemented we may miss some broken pieces along the test suites, potentially creating false positives. Consider example: # [[ $(this_command_does_not_exist) -eq 0 ]] Test should fail since clearly we cannot rely on calling something that doesn't exist. In current setup, this would fall through; inherit_errexit test would immediately abort it. Change-Id: I7210138cf15bb90eb6b6519d3aa25fd25f54d6f2 Signed-off-by:Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23079 Reviewed-by:
Jim Harris <jim.harris@samsung.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <ben@nvidia.com>