summaryrefslogtreecommitdiffstats
path: root/run_tests.sh
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2016-04-28 04:05:38 -0400
committerMatthewLi <matthew.lijun@huawei.com>2016-04-28 04:05:38 -0400
commit2b868477e04ec3b7a1bf3e3a678a12fef3325263 (patch)
tree35c28f369c33f72bee9752141b00aa28927e68aa /run_tests.sh
parent8413ff70e3e7543522229ce1afc6e7909f78cd6a (diff)
bugfix for braces and testcase name
Change-Id: Ic8731de1f9c62465a28225df4dd5b4b079cb6f49 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-xrun_tests.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/run_tests.sh b/run_tests.sh
index 38e5c16f..19312935 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -78,7 +78,7 @@ function run_test(){
check_testcase -rubbos $i
#adjust config parameters, different test suite has different methods, take rubbos as an example
#run test case, different test suite has different methods
- file={$BASEDIR}/testsuites/rubbos/testcase_cfg/{$i}.yaml
+ file=${BASEDIR}/testsuites/rubbos/testcase_cfg/${i}.yaml
python /home/opnfv/bottlenecks/testsuites/rubbos/run_rubbos.py -c $file
done
;;
@@ -95,7 +95,7 @@ function run_test(){
check_testcase -vstf $i
#adjust config parameters
#run test case
- file={$BASEDIR}/testsuites/vstf/testcase_cfg/{$i}.yaml
+ file=${BASEDIR}/testsuites/vstf/testcase_cfg/${i}.yaml
python /home/opnfv/bottlenecks/testsuites/vstf/run_vstf.py -c $file
done
;;