bugfix 67/12267/1
authorMatthewLi <matthew.lijun@huawei.com>
Thu, 14 Apr 2016 07:57:58 +0000 (03:57 -0400)
committerMatthewLi <matthew.lijun@huawei.com>
Thu, 14 Apr 2016 07:57:58 +0000 (03:57 -0400)
Change-Id: I84483b323e17092b2025b8d0340e695207707600
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
run_tests.sh

index 42d42e2..093f724 100755 (executable)
@@ -33,10 +33,10 @@ function check_testcase(){
     check_suite="$1"
     case $check_suite in
          "-rubbos")
-             $SUITE_PREFIX=$SUITE_PREFIX_CONFIG/rubbos/testcase_cfg
+             SUITE_PREFIX=$SUITE_PREFIX_CONFIG/rubbos/testcase_cfg
          ;;
          "-vstf")
-             $SUITE_PREFIX=$SUITE_PREFIX_CONFIG/vstf/testcase_cfg
+             SUITE_PREFIX=$SUITE_PREFIX_CONFIG/vstf/testcase_cfg
          ;;
     esac
 
@@ -50,7 +50,7 @@ function check_testcase(){
     if [ "${TEST_CASE}" != "" ]; then
        testcase_exec=(${TEST_CASE// /})
        for i in "${testcase_exec[@]}"; do
-           if [[ " ${all_test_cases[*]} " != *" $i "* ]]; then
+           if [[ " ${all_testcases[*]} " != *" $i "* ]]; then
                error "unknown test case: $i. available test cases are: ${all_test_cases[@]}"
            fi
        done