summaryrefslogtreecommitdiffstats
path: root/docker/run_tests.sh
diff options
context:
space:
mode:
authormeimei <meimei@huawei.com>2016-01-26 11:27:05 +0800
committermeimei <meimei@huawei.com>2016-01-26 11:27:05 +0800
commit17195cd6cfd4f378f5c0c0e4640a1ca620cba205 (patch)
treedde99170b9c9b413b8dcd9e58750c813436a9014 /docker/run_tests.sh
parentea4c222b385c93442a8d3cb4c5cf8747c21efdad (diff)
bugfix: syntax error
Change-Id: Ic068cd162e49abe4ce3ce0f184c224b65bfcfb6c Signed-off-by: meimei <meimei@huawei.com>
Diffstat (limited to 'docker/run_tests.sh')
-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