We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3a206a3 + 4cd7486 commit 13571f8Copy full SHA for 13571f8
hack/bats/helpers/load.bash
@@ -3,6 +3,11 @@
3
4
set -o errexit -o nounset -o pipefail
5
6
+# Make sure run() will execute all functions with errexit enabled.
7
+# This enables the functionality from https://github.com/lima-vm/bats-core/commit/507da84de75fa78798d53eceb42e68851ef5c48b
8
+# The upstream PR https://github.com/bats-core/bats-core/pull/1118 is still open, so our submodule points to the PR commit.
9
+export BATS_RUN_ERREXIT=1
10
+
11
# Don't run the tests in ~/.lima because they may destroy _config, _templates etc.
12
export LIMA_HOME=${LIMA_BATS_LIMA_HOME:-$HOME/.lima-bats}
13
0 commit comments