blob: 3f52722eab7849f6bf85ef9b81d2cf6c8f4f6ff1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# Preserve path at the time this file was sourced
# This prevents using of user-defined mocks/stubs that modify the PATH
# BATS_SAVED_PATH was introduced in bats-core v1.10.0
# if it is already set, we can use its more robust value
# else we try to recreate it here
BATS_SAVED_PATH="${BATS_SAVED_PATH-$PATH}"
source "$(dirname "${BASH_SOURCE[0]}")/src/output.bash"
source "$(dirname "${BASH_SOURCE[0]}")/src/error.bash"
source "$(dirname "${BASH_SOURCE[0]}")/src/lang.bash"
|