From 68d91d759abb109a4ad0feec0bd93654623a920f Mon Sep 17 00:00:00 2001 From: Wainer dos Santos Moschetta Date: Thu, 22 May 2025 14:55:24 -0300 Subject: [PATCH] tests/k8s: add `set -e` to confidential_ksh.sh Although the script will inherit that setting from the caller scripts, expliciting it in the file will vanish shellcheck "warning: Use 'pushd ... || exit' or 'pushd ... || return' in case pushd fails. [SC2164]" Signed-off-by: Wainer dos Santos Moschetta --- tests/integration/kubernetes/confidential_kbs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration/kubernetes/confidential_kbs.sh b/tests/integration/kubernetes/confidential_kbs.sh index 3bc76ccbf6..ee472fe42d 100644 --- a/tests/integration/kubernetes/confidential_kbs.sh +++ b/tests/integration/kubernetes/confidential_kbs.sh @@ -6,6 +6,7 @@ # # Provides a library to deal with the CoCo KBS # +set -e kubernetes_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # shellcheck disable=1091