summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/adhoc/dmz01-clean.sh4
-rw-r--r--tests/adhoc/dmz01.sh4
-rw-r--r--tests/adhoc/reserved_subnet-clean.sh4
-rw-r--r--tests/adhoc/reserved_subnet.sh4
-rw-r--r--tests/adhoc/smoke01-clean.sh4
-rw-r--r--tests/adhoc/smoke01.sh4
-rw-r--r--tests/adhoc/smtp_ingress-clean.sh4
-rw-r--r--tests/adhoc/smtp_ingress.sh4
8 files changed, 8 insertions, 24 deletions
diff --git a/tests/adhoc/dmz01-clean.sh b/tests/adhoc/dmz01-clean.sh
index 4d19941..d6482c6 100644
--- a/tests/adhoc/dmz01-clean.sh
+++ b/tests/adhoc/dmz01-clean.sh
@@ -27,9 +27,7 @@
if [ $1 == "debug" ]; then set -x #echo on
fi
-source ~/admin-openrc.sh <<EOF
-openstack
-EOF
+source /opt/copper/admin-openrc.sh
echo "Get Congress policy 'test' ID"
test_policy_ID=$(openstack congress policy show test | awk "/ id / { print \$4 }")
diff --git a/tests/adhoc/dmz01.sh b/tests/adhoc/dmz01.sh
index bc5486a..1796b27 100644
--- a/tests/adhoc/dmz01.sh
+++ b/tests/adhoc/dmz01.sh
@@ -36,9 +36,7 @@
if [ $1 == "debug" ]; then set -x #echo on
fi
-source ~/admin-openrc.sh <<EOF
-openstack
-EOF
+source /opt/copper/admin-openrc.sh
echo "Delete Congress policy 'test' if it exists"
test_policy_ID=$(openstack congress policy show test | awk "/ id / { print \$4 }")
diff --git a/tests/adhoc/reserved_subnet-clean.sh b/tests/adhoc/reserved_subnet-clean.sh
index 7d5fbd6..4f149ba 100644
--- a/tests/adhoc/reserved_subnet-clean.sh
+++ b/tests/adhoc/reserved_subnet-clean.sh
@@ -31,9 +31,7 @@
if [ $1 == "debug" ]; then set -x #echo on
fi
-source ~/admin-openrc.sh <<EOF
-openstack
-EOF
+source /opt/copper/admin-openrc.sh
echo "Get Congress policy 'test' ID"
test_policy_ID=$(openstack congress policy show test | awk "/ id / { print \$4 }")
diff --git a/tests/adhoc/reserved_subnet.sh b/tests/adhoc/reserved_subnet.sh
index 75d4e48..7b3ac12 100644
--- a/tests/adhoc/reserved_subnet.sh
+++ b/tests/adhoc/reserved_subnet.sh
@@ -31,9 +31,7 @@
if [ $1 == "debug" ]; then set -x #echo on
fi
-source ~/admin-openrc.sh <<EOF
-openstack
-EOF
+source /opt/copper/admin-openrc.sh
echo "Delete Congress policy 'test' if it exists"
test_policy_ID=$(openstack congress policy show test | awk "/ id / { print \$4 }")
diff --git a/tests/adhoc/smoke01-clean.sh b/tests/adhoc/smoke01-clean.sh
index 72397c9..9c0138d 100644
--- a/tests/adhoc/smoke01-clean.sh
+++ b/tests/adhoc/smoke01-clean.sh
@@ -26,9 +26,7 @@
set -x #echo on
-source ~/admin-openrc.sh <<EOF
-openstack
-EOF
+source /opt/copper/admin-openrc.sh
instance=$(nova list | awk "/ cirros1 / { print \$2 }")
if [ "$instance" != "" ]; then nova delete $instance
diff --git a/tests/adhoc/smoke01.sh b/tests/adhoc/smoke01.sh
index 593d185..22e2089 100644
--- a/tests/adhoc/smoke01.sh
+++ b/tests/adhoc/smoke01.sh
@@ -29,9 +29,7 @@
set -x #echo on
-source ~/admin-openrc.sh <<EOF
-openstack
-EOF
+source /opt/copper/admin-openrc.sh
openstack service list
diff --git a/tests/adhoc/smtp_ingress-clean.sh b/tests/adhoc/smtp_ingress-clean.sh
index 00333f8..0791125 100644
--- a/tests/adhoc/smtp_ingress-clean.sh
+++ b/tests/adhoc/smtp_ingress-clean.sh
@@ -27,9 +27,7 @@
if [ $1 == "debug" ]; then set -x #echo on
fi
-source ~/admin-openrc.sh <<EOF
-openstack
-EOF
+source /opt/copper/admin-openrc.sh
echo "Get Congress policy 'test' ID"
test_policy_ID=$(openstack congress policy show test | awk "/ id / { print \$4 }")
diff --git a/tests/adhoc/smtp_ingress.sh b/tests/adhoc/smtp_ingress.sh
index 0616341..b787691 100644
--- a/tests/adhoc/smtp_ingress.sh
+++ b/tests/adhoc/smtp_ingress.sh
@@ -30,9 +30,7 @@
if [ $1 == "debug" ]; then set -x #echo on
fi
-source ~/admin-openrc.sh <<EOF
-openstack
-EOF
+source /opt/copper/admin-openrc.sh
echo "Delete Congress policy 'test' if it exists"
test_policy_ID=$(openstack congress policy show test | awk "/ id / { print \$4 }")