summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbryan <bryan.sullivan@att.com>2017-03-07 16:41:51 -0800
committerbryan <bryan.sullivan@att.com>2017-03-07 16:41:51 -0800
commit166774fd06fe94c4f6cd6ab123b8cda6ab78c51a (patch)
treec3b2c1b86ba97bdb967281bf7ec0692c7cf15cc9
parentefab0260eaac1e3477f6ff13e37c30db242f8b1f (diff)
Remove fail option for cleanup script.stable/danube
JIRA: COPPER-4 Change-Id: Ia31f967beccac769f45d4071f6a55a7c81413e6f Signed-off-by: bryan <bryan.sullivan@att.com>
-rw-r--r--tests/adhoc/smoke01-clean.sh22
1 files changed, 3 insertions, 19 deletions
diff --git a/tests/adhoc/smoke01-clean.sh b/tests/adhoc/smoke01-clean.sh
index 4e97e64..be79efc 100644
--- a/tests/adhoc/smoke01-clean.sh
+++ b/tests/adhoc/smoke01-clean.sh
@@ -20,26 +20,10 @@
#
# 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
+# $ source ~/git/copper/tests/adhoc/smoke01.sh
# After test, cleanup with
-# $ bash ~/git/copper/tests/adhoc/smoke01-clean.sh <openrc>
-
-pass() {
- echo "$0: Hooray!"
- set +x #echo off
- exit 0
-}
-
-# Use this to trigger fail() at the right places
-# if [ "$RESULT" == "Test Failed!" ]; then fail; fi
-fail() {
- echo "$0: Test Failed!"
- set +x
- exit 1
-}
-
-source $1
+# $ source ~/git/copper/tests/adhoc/smoke01-clean.sh
+
echo "$0: Delete cirros1 instance"
instance=$(nova list | awk "/ cirros1 / { print \$2 }")