From bc25ad7ad1a9299a07aca77bd9207342711f4bd9 Mon Sep 17 00:00:00 2001 From: Morgan Richomme Date: Thu, 24 Aug 2017 16:54:42 +0200 Subject: 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 --- functest/ci/download_images.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functest') 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 $? -- cgit 1.2.3-korg