mirror of
https://github.com/logos-storage/logos-storage-local-harness.git
synced 2026-01-09 08:53:08 +00:00
16 lines
403 B
Bash
16 lines
403 B
Bash
common_setup() {
|
|
bats_require_minimum_version 1.12.0
|
|
load test_helper/bats-support/load
|
|
load test_helper/bats-assert/load
|
|
|
|
LIB_SRC="$(realpath "${BATS_TEST_DIRNAME}/../src")"
|
|
TEST_OUTPUTS="$(realpath "${BATS_TEST_DIRNAME}/../test_outputs")"
|
|
export LIB_SRC TEST_OUTPUTS
|
|
|
|
# shellcheck source=./src/utils.bash
|
|
source "${LIB_SRC}/utils.bash"
|
|
}
|
|
|
|
clean_outputs() {
|
|
rm -rf "${TEST_OUTPUTS}"
|
|
} |