aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2017-08-24 16:54:42 +0200
committerMorgan Richomme <morgan.richomme@orange.com>2017-08-24 16:54:42 +0200
commitbc25ad7ad1a9299a07aca77bd9207342711f4bd9 (patch)
treec69fcb5d6e8118daa8771709f78f7c3e2b2977ce /functest/ci
parent4d944e52db2c2a39d2417006a9945b949170a916 (diff)
bug fix download_images.sh
when xz the downloaded file, if the uncompressed target file already exists it exits with status 1 and breaks the gate Change-Id: Ie97ff34e6522af48c799e7c8c97dc3310222e683 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'functest/ci')
-rw-r--r--functest/ci/download_images.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/ci/download_images.sh b/functest/ci/download_images.sh
index 86f37a3f..88474d3a 100644
--- a/functest/ci/download_images.sh
+++ b/functest/ci/download_images.sh
@@ -20,6 +20,6 @@ https://cloud-images.ubuntu.com/releases/14.04/release/ubuntu-14.04-server-cloud
http://cloud.centos.org/altarch/7/images/aarch64/CentOS-7-aarch64-GenericCloud.qcow2.xz
EOF
-xz --decompress ${1:-/home/opnfv/functest/images}/CentOS-7-aarch64-GenericCloud.qcow2.xz
+xz --decompress --force ${1:-/home/opnfv/functest/images}/CentOS-7-aarch64-GenericCloud.qcow2.xz
exit $?