Use source to run pre/post test hooks for heat
Right now any variables exported in pre_test_hook.sh and
post_test_hook.sh in heat's heat_integrationtests/ directory are
effectively lost. So unable to do simple thing like trying to
set DEVSTACK_PROJECT_FROM_GIT fails.
fi
function pre_test_hook {{
cd /opt/stack/new/heat/heat_integrationtests
- ./pre_test_hook.sh
+ source ./pre_test_hook.sh
}}
export -f pre_test_hook
function post_test_hook {{
cd /opt/stack/new/heat/heat_integrationtests
- ./post_test_hook.sh
+ source ./post_test_hook.sh
}}
export -f post_test_hook
