bugfix: syntax error 55/7955/1
authormeimei <meimei@huawei.com>
Tue, 26 Jan 2016 03:27:05 +0000 (11:27 +0800)
committermei mei <meimei@huawei.com>
Tue, 26 Jan 2016 03:31:36 +0000 (03:31 +0000)
Change-Id: Ic068cd162e49abe4ce3ce0f184c224b65bfcfb6c
Signed-off-by: meimei <meimei@huawei.com>
docker/run_tests.sh

index 0a09160..3440a45 100755 (executable)
@@ -130,7 +130,7 @@ function run_test(){
         "bgpvpn")
             info "Running BGPVPN Tempest test case..."
             tempest_dir=$(ls -t /home/opnfv/.rally/tempest/ |grep for-deploy |tail -1)
-            if [[ $tempest_dir == "" ]];
+            if [[ $tempest_dir == "" ]]; then
                 echo "Make sure tempest was running before"
                 exit 1
             fi
@@ -144,6 +144,7 @@ bgpvpn = True" >> /etc/tempest/tempest.conf
               ./run_tempest.sh -- networking_bgpvpn_tempest
               rm -rf /etc/tempest/tempest.conf
             popd
+        ;;
         "odl-vpnservice")
             info "Running VPNSERVICE Robot test case..."
             odl_tests