From: Ross Brattain Date: Thu, 9 Mar 2017 04:17:22 +0000 (-0800) Subject: Bugfix: load_images missing space before = X-Git-Tag: danube.1.0~37 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F07%2F30107%2F2;p=yardstick.git 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 --- 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