From 37434bd4a46f7df1d3e41e9bbe613f3a2827638d Mon Sep 17 00:00:00 2001 From: Bryan Sullivan Date: Tue, 9 Jan 2018 16:29:17 -0800 Subject: Fix intro comments JIRA: COPPER-16 Change-Id: I4e3e3a920189316569d7c90789a541de1ce518a6 Signed-off-by: Bryan Sullivan --- tests/adhoc/smoke01-clean.sh | 16 +++++++++++----- tests/adhoc/smoke01.sh | 10 ++++++++-- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/tests/adhoc/smoke01-clean.sh b/tests/adhoc/smoke01-clean.sh index cfd5861..fa38a3b 100644 --- a/tests/adhoc/smoke01-clean.sh +++ b/tests/adhoc/smoke01-clean.sh @@ -14,16 +14,22 @@ # limitations under the License. # -# What this is: Cleanup script for a basic test to validate an OPNFV install. +# What this is: Cleanup script for a basic test to validate an OPNFV install. # -# Status: this is a work in progress, under test. +# Prerequisites: +# OpenStack installed. +# Environment setting script (e.g. admin-openrc.sh) available, and executed +# so OpenStack environment variables are setup. +# OpenStack clients installed e.g. via setup_osc.sh in the OPNFV Models repo. # # How to use: # Install Congress test server per https://wiki.opnfv.org/copper/academy -# $ source ~/git/copper/tests/adhoc/smoke01.sh +# $ bash ~/git/copper/tests/adhoc/smoke01.sh +# : path to your openrc script # After test, cleanup with -# $ source ~/git/copper/tests/adhoc/smoke01-clean.sh - +# $ bash ~/git/copper/tests/adhoc/smoke01-clean.sh +# +# Status: this is a work in progress, under test. function log() { f=$(caller 0 | awk '{print $2}') diff --git a/tests/adhoc/smoke01.sh b/tests/adhoc/smoke01.sh index 18e617f..207cec3 100644 --- a/tests/adhoc/smoke01.sh +++ b/tests/adhoc/smoke01.sh @@ -20,13 +20,19 @@ # Status: this is a work in progress, under test. Automated ping test to the # internet and between VMs has not yet been implemented. # +# Prerequisites: +# OpenStack installed. +# Environment setting script (e.g. admin-openrc.sh) available. +# OpenStack clients installed e.g. via setup_osc.sh in the OPNFV Models repo. +# # How to use: # Install Congress test server per https://wiki.opnfv.org/copper/academy # $ bash ~/git/copper/tests/adhoc/smoke01.sh # : path to your openrc script # After test, cleanup with -# $ bash ~/git/copper/tests/adhoc/smoke01-clean.sh - +# $ bash ~/git/copper/tests/adhoc/smoke01-clean.sh +# +# Status: this is a work in progress, under test. trap 'fail' ERR -- cgit 1.2.3-korg