From d8d51c471298e6f3fc4fdf06d5b5453bac8f65b2 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Tue, 18 Jul 2017 22:17:02 +0200 Subject: [PATCH] run-tests: add `dak` command to PATH --- integration-tests/setup | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) mode change 100644 => 100755 integration-tests/setup diff --git a/integration-tests/setup b/integration-tests/setup old mode 100644 new mode 100755 index 8b732c96..ae3ff6e6 --- a/integration-tests/setup +++ b/integration-tests/setup @@ -17,10 +17,14 @@ dak-setup() { unset PGDATABASE (cd ${setupdir}; ./init_core) + mkdir ${DAKBASE}/etc ${DAKBASE}/bin + export DAK_CONFIG="${DAKBASE}/etc/dak.conf" - mkdir ${DAKBASE}/etc (cd ${setupdir}; ./init_minimal_conf) > ${DAK_CONFIG} + export PATH="${DAKBASE}/bin:${PATH}" + ln -s ${DAK_ROOT}/dak/dak.py ${DAKBASE}/bin/dak + dak update-db --yes } -- GitLab