From 7f629a04afe0169fef65acd85c8783b37bfc5918 Mon Sep 17 00:00:00 2001 From: ting wu Date: Tue, 20 Mar 2018 14:17:28 +0100 Subject: Add "YARDSTICK_REPO_DIR" into tests path In the CI flow, script "load_images.sh", variable ${YARDSTICK_REPO_DIR} needs to be added in front of tests path to avoid the error: sed: can't read tests/opnfv/test_cases/*: No such file or directory This fix is specific to arm64 JIRA: YARDSTICK-1086 Change-Id: If19b295233bb7313226dae70df016ad236bed2ac Signed-off-by: ting wu --- tests/ci/load_images.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/ci') diff --git a/tests/ci/load_images.sh b/tests/ci/load_images.sh index d723823ee..5df769c0d 100755 --- a/tests/ci/load_images.sh +++ b/tests/ci/load_images.sh @@ -251,7 +251,7 @@ main() load_yardstick_image if [ "${YARD_IMG_ARCH}" == "arm64" ]; then #We have overlapping IP with the real network - for filename in tests/opnfv/test_cases/*; do + for filename in ${YARDSTICK_REPO_DIR}/tests/opnfv/test_cases/*; do sed -i "s/cidr: '10.0.1.0\/24'/cidr: '10.3.1.0\/24'/g" "${filename}" done else -- cgit 1.2.3-korg