Files
kryon/tests/test_context.sh
T

7 lines
224 B
Bash

# Common setup for standalone behavior tests; sourced with the caller's $0.
set -eu
repo=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
. "$repo/tests/toolchain.sh"
work=$(mktemp -d)
trap 'rm -rf "$work"' EXIT HUP INT TERM