Skip to content

Commit 0de8255

Browse files
Fail with stack trace in test bash
1 parent c9b4a60 commit 0de8255

5 files changed

+4
-1
lines changed

hack/test-cmd.sh

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ set -o pipefail
99

1010
OS_ROOT=$(dirname "${BASH_SOURCE}")/..
1111
source "${OS_ROOT}/hack/util.sh"
12-
1312
os::log::install_errexit
1413

1514
function cleanup()

hack/test-end-to-end-scenario.sh

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ set -o pipefail
99

1010
OS_ROOT=$(dirname "${BASH_SOURCE}")/..
1111
source "${OS_ROOT}/hack/util.sh"
12+
os::log::install_errexit
1213

1314
ROUTER_TESTS_ENABLED="${ROUTER_TESTS_ENABLED:-true}"
1415
TEST_ASSETS="${TEST_ASSETS:-false}"

hack/test-end-to-end.sh

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ set -o pipefail
99

1010
OS_ROOT=$(dirname "${BASH_SOURCE}")/..
1111
source "${OS_ROOT}/hack/util.sh"
12+
os::log::install_errexit
1213

1314
ensure_iptables_or_die
1415

hack/test-extended.sh

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ set -o pipefail
77
OS_ROOT=$(dirname "${BASH_SOURCE}")/..
88
source "${OS_ROOT}/hack/common.sh"
99
source "${OS_ROOT}/hack/util.sh"
10+
os::log::install_errexit
1011

1112
# Go to the top of the tree.
1213
cd "${OS_ROOT}"

hack/test-integration.sh

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ set -o pipefail
77
OS_ROOT=$(dirname "${BASH_SOURCE}")/..
88
source "${OS_ROOT}/hack/common.sh"
99
source "${OS_ROOT}/hack/util.sh"
10+
os::log::install_errexit
1011

1112
# Go to the top of the tree.
1213
cd "${OS_ROOT}"

0 commit comments

Comments
 (0)