summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2016-04-14 03:57:58 -0400
committerMatthewLi <matthew.lijun@huawei.com>2016-04-14 03:57:58 -0400
commit13e674358deed41a7734e7ef238f77349c2fb1e6 (patch)
tree6e95194c24d47d08553b8c314cc62f5f2a3a6095
parent4f7e0f0d057c7b92c979e9e1d7a55f84a2ff7091 (diff)
bugfix
Change-Id: I84483b323e17092b2025b8d0340e695207707600 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
-rwxr-xr-xrun_tests.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/run_tests.sh b/run_tests.sh
index 42d42e2b..093f7248 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -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