mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-03 10:17:46 +00:00
e2e: fix ginkgo parameter setup
This is a fix for 104aab81a4
: because
the default was not set for E2E_TEST_DEBUG_TOOL, all parameters were always
also passed to the E2E suite.
That wasn't wrong for the parameters so far, but breaks when using something
like --output-dir which is only understood by the CLI.
This commit is contained in:
@@ -192,7 +192,7 @@ esac
|
||||
# Move Ginkgo arguments that are understood by the suite when not using
|
||||
# the CLI.
|
||||
suite_args=()
|
||||
if [ "${E2E_TEST_DEBUG_TOOL}" != "ginkgo" ]; then
|
||||
if [ "${E2E_TEST_DEBUG_TOOL:-ginkgo}" != "ginkgo" ]; then
|
||||
for arg in "${ginkgo_args[@]}"; do
|
||||
suite_args+=("--ginkgo.${arg#--}")
|
||||
done
|
||||
|
Reference in New Issue
Block a user