Fix false negative, when HEAT_CREATE_TEST_IMAGE is unset

Fix shell variable comparision bug
Closes-Bug: #1239041

Change-Id: Ifbc8545f929eb7bbf9b85df889dfd9fa3a96b7c0
This commit is contained in:
DennyZhang 2013-10-11 22:06:25 -05:00
parent 3931573f2b
commit 48e1bab542

View File

@ -266,7 +266,7 @@ function configure_tempest() {
iniset $TEMPEST_CONF boto ssh_user ${DEFAULT_INSTANCE_USER:-cirros}
# Orchestration test image
if [ $HEAT_CREATE_TEST_IMAGE == "True" ]; then
if [[ "$HEAT_CREATE_TEST_IMAGE" = "True" ]]; then
disk_image_create /usr/share/tripleo-image-elements "vm fedora heat-cfntools" "i386" "fedora-vm-heat-cfntools-tempest"
iniset $TEMPEST_CONF orchestration image_ref "fedora-vm-heat-cfntools-tempest"
fi