From 3a64a7a97cbeaaf08cf3d06474e24eb16280411b Mon Sep 17 00:00:00 2001 From: georglauterbach <44545919+georglauterbach@users.noreply.github.com> Date: Tue, 16 Jan 2024 19:13:38 +0100 Subject: [PATCH] add ShellCheck global directives --- test/helper/log_and_filtering.bash | 2 ++ test/helper/sending.bash | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/helper/log_and_filtering.bash b/test/helper/log_and_filtering.bash index 1cd742f5..5d716780 100644 --- a/test/helper/log_and_filtering.bash +++ b/test/helper/log_and_filtering.bash @@ -5,6 +5,8 @@ # ! ATTENTION: This file is loaded by `common.sh` - do not load it yourself! # ! ATTENTION: This file requires helper functions from `common.sh`! +# shellcheck disable=SC2034,SC2155 + # Assert that the number of lines output by a previous command matches the given # amount (${1}). `lines` is a special BATS variable updated via `run`. # diff --git a/test/helper/sending.bash b/test/helper/sending.bash index e18dc1ac..2e9f68fd 100644 --- a/test/helper/sending.bash +++ b/test/helper/sending.bash @@ -1,12 +1,12 @@ #!/bin/bash -# shellcheck disable=SC2034,SC2155 - # ? ABOUT: Functions defined here help with sending emails in tests. # ! ATTENTION: This file is loaded by `common.sh` - do not load it yourself! # ! ATTENTION: This file requires helper functions from `common.sh`! +# shellcheck disable=SC2034,SC2155 + # Sends an e-mail from the container named by the environment variable `CONTAINER_NAME` # to the same or another container. #