Allow env variable customizations in the Designate DevStack gate

Before running the tests, we source gate-env.bash if it exists, allowing
for DevStack env variables to be configured.

Change-Id: Idb9627c92646fb5875cdb95c8e20ea1e8c68198c
This commit is contained in:
Kiall Mac Innes 2014-07-16 14:18:08 +01:00
parent a1953fd4ae
commit 3ccf12f9aa

View File

@ -21,6 +21,11 @@
function pre_test_hook {
cd /opt/stack/new/designate/contrib/devstack
if [ -f gate-env.bash ]; then
source gate-env.bash
fi
./pre_test_hook.sh
}
export -f pre_test_hook