add ShellCheck global directives

This commit is contained in:
georglauterbach 2024-01-16 19:13:38 +01:00
parent 87b92f6f88
commit 3a64a7a97c
No known key found for this signature in database
GPG key ID: F367F7C43C118578
2 changed files with 4 additions and 2 deletions

View file

@ -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`.
#

View file

@ -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.
#