summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2016-12-22 11:02:07 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2016-12-22 11:48:50 +0800
commitd599bb9f9a304757f97154e5879545b01e37811b (patch)
treecd439c96639f6a2ea14dfa2b7fe9ea92ae8cf0d7
parentbb5fd848c7bee3bf2d0d43a143f613076211ff07 (diff)
Add section headers to verification script
Change-Id: I4263b245c83c6b730d0458b3bf604683c0e9b64d Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
-rwxr-xr-xtests/run.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run.sh b/tests/run.sh
index eefa79b2..1f73f555 100755
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -8,6 +8,8 @@
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
+# Configuration
+
[[ "${CI_DEBUG:-true}" == [Tt]rue ]] && set -x
IMAGE_URL=https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img
@@ -33,6 +35,8 @@ as_doctor_user="--os-username $DOCTOR_USER --os-password $DOCTOR_PW
--os-tenant-name $DOCTOR_PROJECT"
+# Functions
+
get_compute_host_info() {
# get computer host info which VM boot in
COMPUTE_HOST=$(openstack $as_doctor_user server show $VM_NAME |
@@ -305,6 +309,7 @@ cleanup() {
cleanup_inspector
}
+# Main process
echo "Note: doctor/tests/run.sh has been executed."