From 4f7e0f0d057c7b92c979e9e1d7a55f84a2ff7091 Mon Sep 17 00:00:00 2001 From: MatthewLi Date: Thu, 14 Apr 2016 03:43:37 -0400 Subject: [PATCH] fix some bugs Change-Id: I452107e21294333c4d6624675232158ca4462aff Signed-off-by: MatthewLi --- config/bottlenecks_cfg.yaml | 2 +- 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 -- 2.16.6