From: MatthewLi Date: Thu, 14 Apr 2016 07:57:58 +0000 (-0400) Subject: bugfix X-Git-Tag: colorado.1.0~63 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=bottlenecks.git;a=commitdiff_plain;h=13e674358deed41a7734e7ef238f77349c2fb1e6 bugfix Change-Id: I84483b323e17092b2025b8d0340e695207707600 Signed-off-by: MatthewLi --- 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