diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-03-08 20:17:22 -0800 |
---|---|---|
committer | Ross Brattain <ross.b.brattain@intel.com> | 2017-03-08 23:10:28 -0800 |
commit | 72030a83b2cfa9f0993e22559b2b9a6261abd6b2 (patch) | |
tree | e3b73b2f35c43213f779b3c7672cda4ccc0c2953 /tests/ci | |
parent | 270d6092c809e8de039a08efd8c108f865cf860e (diff) |
Bugfix: load_images missing space before =
load_images.sh arm64 change had issue with shell
load_images.sh: line 34: [: amd64=: unary operator expected
https://build.opnfv.org/ci/view/yardstick/job/yardstick-compass-baremetal-daily-master/894/console
Change-Id: I14f0b8628db7ac90a4966f85e9e7e27a0e0fae02
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'tests/ci')
-rwxr-xr-x | tests/ci/load_images.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ci/load_images.sh b/tests/ci/load_images.sh index e5a7ae034..f81ee1b26 100755 --- a/tests/ci/load_images.sh +++ b/tests/ci/load_images.sh @@ -31,7 +31,7 @@ if [ "$INSTALLER_TYPE" == "fuel" ]; then fi UCA_HOST="cloud-images.ubuntu.com" -if [ "${YARD_IMG_ARCH}"= "arm64" ]; then +if [ "${YARD_IMG_ARCH}" == "arm64" ]; then export CLOUD_IMG_URL="http://${UCA_HOST}/${release}/current/${release}-server-cloudimg-${YARD_IMG_ARCH}.tar.gz" if ! grep -q "Defaults env_keep += \"CLOUD_IMG_URL\"" "/etc/sudoers"; then sudo echo "Defaults env_keep += \"CLOUD_IMG_URL\"" >> /etc/sudoers |