1
0
mirror of https://github.com/containers/buildah.git synced 2026-02-05 09:45:38 +01:00
Files
buildah/tests/test_runner.sh
flouthoc d7d7878622 test: use /tmp as TMPDIR
use /tmp as TMPDIR so tests use tmpfs

Signed-off-by: flouthoc <flouthoc.git@gmail.com>
2025-02-18 14:50:01 -08:00

16 lines
264 B
Bash
Executable File

#!/usr/bin/env bash
set -e
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
# Default to using /tmp for test space.
export TMPDIR=${TMPDIR:-/tmp}
function execute() {
>&2 echo "++ $@"
eval "$@"
}
# Run the tests.
execute time bats -j $(nproc) --tap "${@:-.}"