summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormeimei <meimei@huawei.com>2016-01-26 11:27:05 +0800
committermei mei <meimei@huawei.com>2016-01-26 03:31:36 +0000
commita909e778c7e86c4ae3b12a487725fd9bcdfe0c9f (patch)
treedde99170b9c9b413b8dcd9e58750c813436a9014
parentda765e5a2120f14055caa7a04f6ebb41ee630c6d (diff)
bugfix: syntax error
Change-Id: Ic068cd162e49abe4ce3ce0f184c224b65bfcfb6c Signed-off-by: meimei <meimei@huawei.com>
-rwxr-xr-xdocker/run_tests.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/run_tests.sh b/docker/run_tests.sh
index 0a09160cb..3440a4552 100755
--- a/docker/run_tests.sh
+++ b/docker/run_tests.sh
@@ -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