Fix gate-heat-templates-dsvm shell script

The shell script was originally written as a template but is not
anymore, so it fails with a syntax error trying to launch the post test
hook. The patch removes the additionals braces.

Change-Id: I494979bee7545f88308416824c0ea07bee87e54d
This commit is contained in:
Thomas Herve 2014-04-23 17:20:56 +02:00
parent 415842d361
commit 113077d2ae

View File

@ -19,10 +19,10 @@
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export PROJECTS="openstack/heat-templates $PROJECTS"
function post_test_hook {{
function post_test_hook {
source $BASE/new/devstack/openrc && \
python $BASE/new/heat-templates/tools/validate-templates $BASE/new/heat-templates
}}
}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh