diff options
author | MatthewLi <matthew.lijun@huawei.com> | 2016-04-14 03:43:37 -0400 |
---|---|---|
committer | MatthewLi <matthew.lijun@huawei.com> | 2016-04-14 03:43:37 -0400 |
commit | 4f7e0f0d057c7b92c979e9e1d7a55f84a2ff7091 (patch) | |
tree | a5905bc271a4ab03e3de29ee3ba6e028111c3e59 | |
parent | 790fd9366f396114a5fe2f8dd0a22a7413a3b897 (diff) |
fix some bugs
Change-Id: I452107e21294333c4d6624675232158ca4462aff
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
-rwxr-xr-x | config/bottlenecks_cfg.yaml | 2 | ||||
-rwxr-xr-x | run_tests.sh | 2 |
2 files changed, 2 insertions, 2 deletions
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 |