aboutsummaryrefslogtreecommitdiffstats
path: root/ovp_testsuite/instantiate-k8s.sh
diff options
context:
space:
mode:
authorstark, steven <steven.stark@att.com>2020-05-04 11:22:16 -0700
committerstark, steven <steven.stark@att.com>2020-05-04 11:22:26 -0700
commite4fca937cc6104ff56c52f720d26552febe44bee (patch)
treeb4eb251c554359ceecc224a6a7074477ef5e91ea /ovp_testsuite/instantiate-k8s.sh
parent96b6415195ce059e70bfbd9a35a4c7992d2e778f (diff)
[VVP] fixes for vvp test-engine
update license in setup.py. update config.yaml to use same user, now that SDC has been updated. add logic for OS X /tmp directory Issue-ID: VVP-417 Change-Id: Ibeb48208da9e39614c1c41499c87b06943855e96 Signed-off-by: stark, steven <steven.stark@att.com>
Diffstat (limited to 'ovp_testsuite/instantiate-k8s.sh')
-rwxr-xr-xovp_testsuite/instantiate-k8s.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/ovp_testsuite/instantiate-k8s.sh b/ovp_testsuite/instantiate-k8s.sh
index 99c19f6..681ae92 100755
--- a/ovp_testsuite/instantiate-k8s.sh
+++ b/ovp_testsuite/instantiate-k8s.sh
@@ -43,6 +43,10 @@ OUTPUT_DIR=/tmp/OVP-$RANDOM_STRING
PODNAME="ovp-test"
CONFIGMAP="ovp-test-suite-vol"
+if [[ "$OSTYPE" == "darwin"* ]]; then
+ OUTPUT_DIR=/private/tmp/OVP-$RANDOM_STRING
+fi
+
function tar_output() {
OUTPUT=$1
set +x