summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2016-04-14 03:43:37 -0400
committerMatthewLi <matthew.lijun@huawei.com>2016-04-14 03:43:37 -0400
commit4f7e0f0d057c7b92c979e9e1d7a55f84a2ff7091 (patch)
treea5905bc271a4ab03e3de29ee3ba6e028111c3e59
parent790fd9366f396114a5fe2f8dd0a22a7413a3b897 (diff)
fix some bugs
Change-Id: I452107e21294333c4d6624675232158ca4462aff Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
-rwxr-xr-xconfig/bottlenecks_cfg.yaml2
-rwxr-xr-xrun_tests.sh2
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