summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBryan Sullivan <bryan.sullivan@att.com>2018-01-09 16:29:17 -0800
committerBryan Sullivan <bryan.sullivan@att.com>2018-01-09 16:29:17 -0800
commit37434bd4a46f7df1d3e41e9bbe613f3a2827638d (patch)
treee7225eb6a166aab03da26bccd999c24e5b8d55e6 /tests
parentfedbb0b9b56eaee4d6bd4edfd93eac738de27baf (diff)
Fix intro comments
JIRA: COPPER-16 Change-Id: I4e3e3a920189316569d7c90789a541de1ce518a6 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/adhoc/smoke01-clean.sh16
-rw-r--r--tests/adhoc/smoke01.sh10
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 <openrc>
+# <openrc>: 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 <openrc>
# <openrc>: path to your openrc script
# After test, cleanup with
-# $ bash ~/git/copper/tests/adhoc/smoke01-clean.sh <openrc>
-
+# $ bash ~/git/copper/tests/adhoc/smoke01-clean.sh
+#
+# Status: this is a work in progress, under test.
trap 'fail' ERR