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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user