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:
Patrick Ohly 2022-11-02 14:57:54 +01:00
parent f3ef400431
commit b39e56b475

View File

@ -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_PREFIX:+"--report-prefix=${E2E_REPORT_PREFIX}"} \
"${suite_args[@]:+${suite_args[@]}}" \
"${@:-}"
"${@}"