bugfix for braces and testcase name 85/13385/1
authorMatthewLi <matthew.lijun@huawei.com>
Thu, 28 Apr 2016 08:05:38 +0000 (04:05 -0400)
committerMatthewLi <matthew.lijun@huawei.com>
Thu, 28 Apr 2016 08:05:38 +0000 (04:05 -0400)
Change-Id: Ic8731de1f9c62465a28225df4dd5b4b079cb6f49
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
run_tests.sh
testsuites/rubbos/run_rubbos.py
testsuites/rubbos/testcase_cfg/rubbos_1-1-0-1.yaml [moved from testsuites/rubbos/testcase_cfg/rubbos_1-1-1.yaml with 100% similarity]
testsuites/rubbos/testsuite_story/rubbos_story1
testsuites/rubbos/testsuite_story/rubbos_story2

index 38e5c16..1931293 100755 (executable)
@@ -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
         ;;
index 32221f7..904cd8a 100755 (executable)
@@ -25,7 +25,7 @@ from novaclient.client import Client as NovaClient
 parser = argparse.ArgumentParser()
 parser.add_argument("-c", "--conf",
                     help="configuration files for the testcase, in yaml format",
-                    default="/home/opnfv/bottlenecks/testsuites/rubbos/testcase_cfg/rubbos_1-1-1.yaml")
+                    default="/home/opnfv/bottlenecks/testsuites/rubbos/testcase_cfg/rubbos_1-1-0-1.yaml")
 args = parser.parse_args()
 
 #--------------------------------------------------