From: MatthewLi Date: Thu, 14 Apr 2016 07:43:37 +0000 (-0400) Subject: fix some bugs X-Git-Tag: colorado.1.0~64 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=bottlenecks.git;a=commitdiff_plain;h=4f7e0f0d057c7b92c979e9e1d7a55f84a2ff7091 fix some bugs Change-Id: I452107e21294333c4d6624675232158ca4462aff Signed-off-by: MatthewLi --- diff --git a/config/bottlenecks_cfg.yaml b/config/bottlenecks_cfg.yaml index 8193651f..c12ec9d6 100755 --- a/config/bottlenecks_cfg.yaml +++ b/config/bottlenecks_cfg.yaml @@ -1 +1 @@ -suite_prefix_config: /home/opnfv/bottlenecks/testsuites/ +suite_prefix_config: /home/opnfv/bottlenecks/testsuites diff --git a/run_tests.sh b/run_tests.sh index 59538eee..42d42e2b 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -47,7 +47,7 @@ function check_testcase(){ all_testcases_insuite=`cat /tmp/all_testcases.yaml | awk -F '/' '{print $NF}' | awk -F '.' '{print $1}'` all_testcases=(${all_testcases_insuite}) - if ["${TEST_CASE}" != ""]; then + if [ "${TEST_CASE}" != "" ]; then testcase_exec=(${TEST_CASE// /}) for i in "${testcase_exec[@]}"; do if [[ " ${all_test_cases[*]} " != *" $i "* ]]; then