fix some bugs 65/12265/1
authorMatthewLi <matthew.lijun@huawei.com>
Thu, 14 Apr 2016 07:43:37 +0000 (03:43 -0400)
committerMatthewLi <matthew.lijun@huawei.com>
Thu, 14 Apr 2016 07:43:37 +0000 (03:43 -0400)
Change-Id: I452107e21294333c4d6624675232158ca4462aff
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
config/bottlenecks_cfg.yaml
run_tests.sh

index 8193651..c12ec9d 100755 (executable)
@@ -1 +1 @@
-suite_prefix_config: /home/opnfv/bottlenecks/testsuites/
+suite_prefix_config: /home/opnfv/bottlenecks/testsuites
index 59538ee..42d42e2 100755 (executable)
@@ -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