From 2037ff5a3a66300482a4d7e22aa1e46cae0740e3 Mon Sep 17 00:00:00 2001 From: shi0rik0 Date: Thu, 20 Jul 2023 07:30:58 +0800 Subject: [PATCH] Fix a bug in test-e2e-kind.sh (#5273) Before this patch, the testbed clean-up was never executed because of a mistake in the "quit" function. This patch fixes this bug. Signed-off-by: shi0rik0 --- ci/kind/test-e2e-kind.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/kind/test-e2e-kind.sh b/ci/kind/test-e2e-kind.sh index 05fe92972ca..df4db7939f1 100755 --- a/ci/kind/test-e2e-kind.sh +++ b/ci/kind/test-e2e-kind.sh @@ -53,7 +53,7 @@ FLOW_VISIBILITY_YML=$(dirname $0)"/../../build/yamls/flow-visibility-e2e.yml" function quit { result=$? - if [[ $setup_only || $test_only ]]; then + if [[ "$setup_only" = true || "$test_only" = true ]]; then exit $result fi echoerr "Cleaning testbed"