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>
This commit is contained in:
Rolf Neugebauer 2017-05-16 11:42:14 +01:00
parent 188ee6d226
commit 509be016d2
2 changed files with 0 additions and 3 deletions

View File

@ -5,7 +5,6 @@
# Temporary directory for tests to use.
LINUXKIT_TMPDIR="${RT_PROJECT_ROOT}/_tmp"
LINUXKIT_ARTIFACTS_DIR="${RT_PROJECT_ROOT}/../../artifacts"
# The top-level group.sh of the project creates a env.sh file
# containing environment variables for tests. Source it if present.

View File

@ -10,8 +10,6 @@ group_init() {
# Group initialisation code goes here
[ -r "${LINUXKIT_TMPDIR}" ] && rm -rf "${LINUXKIT_TMPDIR}"
mkdir "${LINUXKIT_TMPDIR}"
[ -r "${LINUXKIT_ARTIFACTS_DIR}" ] && rm -rf "${LINUXKIT_ARTIFACTS_DIR}"
mkdir "${LINUXKIT_ARTIFACTS_DIR}"
echo "export LINUXKIT_EXAMPLES_DIR=${RT_PROJECT_ROOT}/../../examples" >> "${LINUXKIT_TMPDIR}/env.sh"
if rt_label_set "gcp"; then