mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-05-14 02:53:02 +00:00
-o pipefail in particular ensures that exec_host() returns the right exit code. -u is also added for good measure. Note that $BATS_TEST_DIRNAME is set by bats so we move its usage inside the function. Signed-off-by: Aurélien Bombo <abombo@microsoft.com>