From 60d87a6960851ff0cd3b438e1c55409dc8e14869 Mon Sep 17 00:00:00 2001 From: zxyszx <299979470+zxyszx@users.noreply.github.com> Date: Fri, 7 Aug 2026 13:32:32 +0800 Subject: [PATCH] ci: support older ShellCheck warning code --- tests/install_test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/install_test.sh b/tests/install_test.sh index 9fcb86a..820ad94 100644 --- a/tests/install_test.sh +++ b/tests/install_test.sh @@ -258,7 +258,8 @@ test_service_commands_require_complete_installation() ( temp_dir="$(mktemp -d)" INSTALL_DIR="${temp_dir}/install" mkdir -p "${INSTALL_DIR}" - # shellcheck disable=SC2329 + # Invoked indirectly by the service command functions under test. + # shellcheck disable=SC2317,SC2329 ensure_docker() { fail_test "service command checked Docker before installation"; } for command_name in do_update do_status do_logs do_restart do_certificate do_rollback do_reset_admin_password do_reset_admin_two_factor do_uninstall; do if ("${command_name}" >/dev/null 2>&1); then