diff options
Diffstat (limited to 'test/kubectl-helm-minikube/install_only_kubectl.sh')
-rw-r--r-- | test/kubectl-helm-minikube/install_only_kubectl.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/kubectl-helm-minikube/install_only_kubectl.sh b/test/kubectl-helm-minikube/install_only_kubectl.sh new file mode 100644 index 0000000..442ef64 --- /dev/null +++ b/test/kubectl-helm-minikube/install_only_kubectl.sh @@ -0,0 +1,22 @@ +#!/bin/bash +set -e + +# Optional: Import test library +source dev-container-features-test-lib + +set +e + kubectl + exit_code=$? + check "kubectl-is-not-installed" bash -c "echo ${exit_code} | grep 127" + + helm version + exit_code=$? + check "helm-is-not-installed" bash -c "echo ${exit_code} | grep 127" + + minikube version + exit_code=$? + check "minikube is-not-installed" bash -c "echo ${exit_code} | grep 127" +set -e + +# Report result +reportResults |