summaryrefslogtreecommitdiffstats
path: root/ovp_testsuite/instantiate-k8s.sh
diff options
context:
space:
mode:
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