summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2017-07-13 15:57:59 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2017-07-13 18:37:20 +0200
commit30c5870f7cf3157f997b159cf25bb9cbf1117060 (patch)
tree571faf6a1ecb41b4b6dce57cdaa2d3104a7c672c /tests
parente1ad31691ea4249a7dd33e9280dd6d0df8bc9475 (diff)
Make use of existing cirros image in the Functest container
Once [1] is merged, the image needed for this test case will be available in /home/opnfv/functest/images/ So, no need to download again. [1] https://gerrit.opnfv.org/gerrit/#/c/37393/ Change-Id: I219fc38cdf5e929ecdba1631d6315f6d076ae5d0 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/functest_run.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/functest_run.sh b/tests/functest_run.sh
index 95cf629..fb647c5 100755
--- a/tests/functest_run.sh
+++ b/tests/functest_run.sh
@@ -17,8 +17,12 @@ PARSER_CI_DEBUG=${CI_DEBUG:-false}
debug=""
}
-# PARSER_IMAGE_URL_FILE=cirros-0.3.0-x86_64-disk.img
-PARSER_IMAGE_URL_FILE=cirros-0.3.2-x86_64-disk.img
+if [ -n $1 ]; then
+ PARSER_IMAGE_URL_FILE=$1
+else
+ # PARSER_IMAGE_URL_FILE=cirros-0.3.0-x86_64-disk.img
+ PARSER_IMAGE_URL_FILE=cirros-0.3.2-x86_64-disk.img
+fi
# PARSER_IMAGE_URL=https://launchpad.net/cirros/trunk/0.3.0/+download/${PARSER_IMAGE_URL_FILE}
PARSER_IMAGE_URL=http://download.cirros-cloud.net/0.3.2/${PARSER_IMAGE_URL_FILE}
# PARSER_IMAGE_NAME=rhel-6.5-test-image