mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
e2e: fix ginkgo-e2e.sh with no arguments
If the script was called with no arguments, it passed "${@:-}" to the suite, which expands to one empty argument. That's not right, "${@}" should be used instead because it expands to nothing when empty.
This commit is contained in:
parent
f3ef400431
commit
b39e56b475
@ -230,4 +230,4 @@ case "${GINKGO_SHOW_COMMAND:-${CI:-no}}" in y|yes|true) set -x ;; esac
|
|||||||
${E2E_REPORT_DIR:+"--report-dir=${E2E_REPORT_DIR}"} \
|
${E2E_REPORT_DIR:+"--report-dir=${E2E_REPORT_DIR}"} \
|
||||||
${E2E_REPORT_PREFIX:+"--report-prefix=${E2E_REPORT_PREFIX}"} \
|
${E2E_REPORT_PREFIX:+"--report-prefix=${E2E_REPORT_PREFIX}"} \
|
||||||
"${suite_args[@]:+${suite_args[@]}}" \
|
"${suite_args[@]:+${suite_args[@]}}" \
|
||||||
"${@:-}"
|
"${@}"
|
||||||
|
Loading…
Reference in New Issue
Block a user