Fix shell variable comparision bug
Closes-Bug: #1239041
Change-Id: Ifbc8545f929eb7bbf9b85df889dfd9fa3a96b7c0
| ... | ... |
@@ -266,7 +266,7 @@ function configure_tempest() {
|
| 266 | 266 |
iniset $TEMPEST_CONF boto ssh_user ${DEFAULT_INSTANCE_USER:-cirros}
|
| 267 | 267 |
|
| 268 | 268 |
# Orchestration test image |
| 269 |
- if [ $HEAT_CREATE_TEST_IMAGE == "True" ]; then |
|
| 269 |
+ if [[ "$HEAT_CREATE_TEST_IMAGE" = "True" ]]; then |
|
| 270 | 270 |
disk_image_create /usr/share/tripleo-image-elements "vm fedora heat-cfntools" "i386" "fedora-vm-heat-cfntools-tempest" |
| 271 | 271 |
iniset $TEMPEST_CONF orchestration image_ref "fedora-vm-heat-cfntools-tempest" |
| 272 | 272 |
fi |