From ad5bccc510f6a9072251a5201442fc031cf86744 Mon Sep 17 00:00:00 2001 From: aaa <1693291525@qq.com> Date: Mon, 18 Mar 2019 06:36:03 -0400 Subject: [PATCH] fix shellcheck in test-smoke.sh and test-network.sh update pull request update pull request update pull request update pull request --- cluster/test-network.sh | 3 +-- cluster/test-smoke.sh | 4 +--- hack/.shellcheck_failures | 2 -- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/cluster/test-network.sh b/cluster/test-network.sh index cd0d159e8ef..acc51742844 100755 --- a/cluster/test-network.sh +++ b/cluster/test-network.sh @@ -25,6 +25,5 @@ set -o nounset set -o pipefail KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. -KUBE_CONFIG_FILE="config-default.sh" -${KUBE_ROOT}/hack/ginkgo-e2e.sh --ginkgo.focus=Networking +"${KUBE_ROOT}/hack/ginkgo-e2e.sh" --ginkgo.focus=Networking diff --git a/cluster/test-smoke.sh b/cluster/test-smoke.sh index b5e6d34f92d..fdedf37a165 100755 --- a/cluster/test-smoke.sh +++ b/cluster/test-smoke.sh @@ -25,8 +25,6 @@ set -o pipefail KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. -TEST_ARGS="$@" - SMOKE_TEST_FOCUS_REGEX="Guestbook.application" -exec "${KUBE_ROOT}/cluster/test-e2e.sh" -ginkgo.focus="${SMOKE_TEST_FOCUS_REGEX}" ${TEST_ARGS} +exec "${KUBE_ROOT}/cluster/test-e2e.sh" -ginkgo.focus="${SMOKE_TEST_FOCUS_REGEX}" "$@" diff --git a/hack/.shellcheck_failures b/hack/.shellcheck_failures index 55ef10e6d69..99ea9187da7 100644 --- a/hack/.shellcheck_failures +++ b/hack/.shellcheck_failures @@ -20,8 +20,6 @@ ./cluster/pre-existing/util.sh ./cluster/restore-from-backup.sh ./cluster/test-e2e.sh -./cluster/test-network.sh -./cluster/test-smoke.sh ./cluster/validate-cluster.sh ./hack/cherry_pick_pull.sh ./hack/ginkgo-e2e.sh