Files
linuxkit/test/cases/_lib/lib.sh
Rolf Neugebauer 509be016d2 tests: Remove LINUXKIT_ARTIFACTS_DIR from tests
This was a hack in the first place and will be replaced by
another, more obvious hack in the next commit.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-05-17 14:46:28 +01:00

15 lines
447 B
Bash

#!/bin/sh
# Source the main regression test library if present
[ -f "${RT_LIB}" ] && . "${RT_LIB}"
# Temporary directory for tests to use.
LINUXKIT_TMPDIR="${RT_PROJECT_ROOT}/_tmp"
# The top-level group.sh of the project creates a env.sh file
# containing environment variables for tests. Source it if present.
[ -f "${LINUXKIT_TMPDIR}/env.sh" ] && . "${LINUXKIT_TMPDIR}/env.sh"
# FIXME: Should source the rtf/lib/lib.sh instead
RT_CANCEL=253