Fix syntax error when running tempest.

Change-Id: Ib53059f66e2c27065deb52f3a36d07a24485e090
18:46:36  /opt/stack/devstack-gate/devstack-vm-gate.sh: line 83: [: missing `]'
This commit is contained in:
James E. Blair
2012-07-09 12:01:41 -07:00
parent 74454cf298
commit 6e3643e6fa

View File

@@ -80,7 +80,7 @@ if [ "$DEVSTACK_GATE_TEMPEST" -eq "1" ]; then
echo "Running tempest smoke tests"
sudo -H -u stack nosetests --with-xunit -sv --nologcapture --attr=type=smoke tempest
RETVAL=$?
if [ $RETVAL = 0 && "$DEVSTACK_GATE_TEMPEST_FULL" -eq "1" ]; then
if [[ $RETVAL = 0 && "$DEVSTACK_GATE_TEMPEST_FULL" -eq "1" ]]; then
echo "Running tempest full test suite"
sudo -H -u stack nosetests --with-xunit -sv --nologcapture --eval-attr='type!=smoke' tempest
fi