X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=run_tests.sh;h=d5c3059246fe4d856155a050ea03ccc7a8a5fc8d;hb=299b2cd858055e37c76dce4cdb87fbd7e0ff8cae;hp=38e5c16f35291ab7107b894568acb324568d4761;hpb=8413ff70e3e7543522229ce1afc6e7909f78cd6a;p=bottlenecks.git diff --git a/run_tests.sh b/run_tests.sh index 38e5c16f..d5c30592 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -78,13 +78,13 @@ function run_test(){ check_testcase -rubbos $i #adjust config parameters, different test suite has different methods, take rubbos as an example #run test case, different test suite has different methods - file={$BASEDIR}/testsuites/rubbos/testcase_cfg/{$i}.yaml + file=${BASEDIR}/testsuites/rubbos/testcase_cfg/${i}.yaml python /home/opnfv/bottlenecks/testsuites/rubbos/run_rubbos.py -c $file done ;; "vstf") info "Running vstf test suite" - test_file="/home/opnfv/bottlenecks/testsuite/vstf/testsuite_story/vstf_story1" + test_file="/home/opnfv/bottlenecks/testsuites/vstf/testsuite_story/vstf_story1" if [[ -f $test_file ]]; then testcases=($(cat $test_file)) else @@ -95,7 +95,7 @@ function run_test(){ check_testcase -vstf $i #adjust config parameters #run test case - file={$BASEDIR}/testsuites/vstf/testcase_cfg/{$i}.yaml + file=${BASEDIR}/testsuites/vstf/testcase_cfg/${i}.yaml python /home/opnfv/bottlenecks/testsuites/vstf/run_vstf.py -c $file done ;;