diff --git a/test/integration/run.sh b/test/integration/run.sh index d49ca07b..570efa15 100755 --- a/test/integration/run.sh +++ b/test/integration/run.sh @@ -57,12 +57,12 @@ trap "{ $kubectl delete namespace ${test_ns}; }" EXIT # remove namespace wheneve test_start "happypath - simple rollout of httpbin chart" info "Diffing ${dir}/happypath.yaml" -helmfile -f ${dir}/happypath.yaml diff --detailed-exitcode +${helmfile} -f ${dir}/happypath.yaml diff --detailed-exitcode code=$? [ ${code} -eq 2 ] || fail "unexpected exit code returned by helmfile diff: ${code}" info "Templating ${dir}/happypath.yaml" -helmfile -f ${dir}/happypath.yaml template +${helmfile} -f ${dir}/happypath.yaml template code=$? [ ${code} -eq 0 ] || fail "unexpected exit code returned by helmfile template: ${code}" @@ -73,7 +73,7 @@ retry 5 "curl --fail $(minikube service --url --namespace=${test_ns} httpbin-htt [ ${retry_result} -eq 0 ] || fail "httpbin failed to return 200 OK" info "Applying ${dir}/happypath.yaml" -helmfile -f ${dir}/happypath.yaml apply +${helmfile} -f ${dir}/happypath.yaml apply code=$? [ ${code} -eq 0 ] || fail "unexpected exit code returned by helmfile apply: ${code}"