[dak/master] 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 8b732c9..ae3ff6e
--- 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
}
--
2.1.4
Reply to: