# Disabled shellcheck warnings:
# SC1117: Backslash is literal in "\/". Prefer explicit escaping: "\\/".
+ # SC2119: Use "$@" if function's $1 should mean script's $1.
# SC2039: In POSIX sh, 'local' is undefined.
# SC3043: In POSIX sh, 'local' is undefined.
- SHELLCHECK_OPTS: "--exclude=SC1117 --exclude=SC2039 --exclude=SC3043"
+ SHELLCHECK_OPTS: "--exclude=SC1117 --exclude=SC2119 --exclude=SC2039 --exclude=SC3043"
# Setting this variable will affect all Security templates
# (SAST, Dependency Scanning, ...)
- SCRIPTS+="tools/print-generated-files.sh "
- SCRIPTS+="tools/shellcheck-all.sh "
- SCRIPTS+="tools/tests_in_valgrind.sh "
- - shellcheck ${SCRIPTS} ${SHELLCHECK_OPTS}
+ - shellcheck -x ${SCRIPTS} ${SHELLCHECK_OPTS}
are-database-scripts-in-sync:
stage: test
# - lease upload to the database
# - lease database recount
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
-# shellcheck disable=SC2039
-# SC2039: In POSIX sh, 'local' is undefined.
-
# shellcheck disable=SC2086
# SC2086: Double quote to prevent globbing and word splitting.
# Reason for disable: explicitly don't quote extra_arguments so it is
SCRIPTS_DIR="@datarootdir@/@PACKAGE@/scripts"
fi
+# shellcheck source=src/bin/admin/admin-utils.sh.in
. "${admin_utils}"
# Prints out usage version.
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include common test library.
+# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
# Include admin utilities
+# shellcheck source=src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
# Set location of the kea-admin.
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
-# shellcheck disable=SC2039
-# SC2039: In POSIX sh, 'local' is undefined.
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include common test library.
+# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
# Locations of memfile tools
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# shellcheck disable=SC2154
# SC2154: ... is referenced but not assigned.
# Reason: some variables are sourced.
set -eu
# Include common test library.
+# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
# Include admin utilities
+# shellcheck source=src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
# Set path to the production schema scripts
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# shellcheck disable=SC2154
# SC2154: ... is referenced but not assigned.
# Reason: some variables are sourced.
set -eu
# Include common test library.
+# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
# Include admin utilities
+# shellcheck source=src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
# Set path to the production schema scripts
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
-# shellcheck disable=SC2039
-# SC2039: In POSIX sh, 'local' is undefined.
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include common test library.
+# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
# Path to the temporary configuration file.
bin="kea-ctrl-agent"
bin_path="@abs_top_builddir@/src/bin/agent"
-# Import common test library.
-. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
-
# This test verifies that syntax checking works properly. This function
# requires 3 parameters:
# test_name
# Instruct Control Agent to log to the specific file.
set_logger
# Start Control Agent.
- start_kea ${bin_path}/${bin}
+ start_kea "${bin_path}/${bin}"
# Wait up to 20s for Control Agent to start.
wait_for_kea 20
if [ "${_WAIT_FOR_KEA}" -eq 0 ]; then
# Check if it is still running. It could have terminated (e.g. as a result
# of configuration failure).
- get_pid ${bin}
+ get_pid "${bin}"
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
printf "ERROR: expected one Control Agent process to be started. Found %d processes\
started.\n" "${_GET_PIDS_NUM}"
fi
# Make sure the server is down.
- wait_for_server_down 5 ${bin}
+ wait_for_server_down 5 "${bin}"
assert_eq 1 "${_WAIT_FOR_SERVER_DOWN}" \
"Expected wait_for_server_down return %d, returned %d"
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
-# shellcheck disable=SC2039
-# SC2039: In POSIX sh, 'local' is undefined.
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
bin_path="@abs_top_builddir@/src/bin/d2"
# Import common test library.
+# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
# This test verifies that syntax checking works properly. This function
# Instruct D2 to log to the specific file.
set_logger
# Start D2.
- start_kea ${bin_path}/${bin}
+ start_kea "${bin_path}/${bin}"
# Wait up to 20s for D2 to start.
wait_for_kea 20
if [ "${_WAIT_FOR_KEA}" -eq 0 ]; then
# Check if it is still running. It could have terminated (e.g. as a result
# of configuration failure).
- get_pid ${bin}
+ get_pid "${bin}"
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
printf "ERROR: expected one D2 process to be started. Found %d processes\
started.\n" "${_GET_PIDS_NUM}"
create_config "${CONFIG_INVALID}"
# Try to reconfigure by sending SIGHUP
- send_signal 1 ${bin}
+ send_signal 1 "${bin}"
# Wait up to 10s for the D2Controller to log reload signal received.
wait_for_message 10 "DCTL_CFG_FILE_RELOAD_SIGNAL_RECVD" 1
fi
# Make sure the server is still operational.
- get_pid ${bin}
+ get_pid "${bin}"
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
printf "ERROR: D2 was killed when attempting reconfiguration.\n"
clean_exit 1
create_config "${CONFIG}"
# Reconfigure the server with SIGHUP.
- send_signal 1 ${bin}
+ send_signal 1 "${bin}"
# There should be two occurrences of the DHCP4_CONFIG_COMPLETE messages.
# Wait for it up to 10s.
fi
# Make sure the server is still operational.
- get_pid ${bin}
+ get_pid "${bin}"
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
printf "ERROR: D2 was killed when attempting reconfiguration.\n"
clean_exit 1
# Instruct D2 to log to the specific file.
set_logger
# Start D2.
- start_kea ${bin_path}/${bin}
+ start_kea "${bin_path}/${bin}"
# Wait up to 20s for D2 to start.
wait_for_kea 20
if [ "${_WAIT_FOR_KEA}" -eq 0 ]; then
# Check if it is still running. It could have terminated (e.g. as a result
# of configuration failure).
- get_pid ${bin}
+ get_pid "${bin}"
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
printf "ERROR: expected one D2 process to be started. Found %d processes\
started.\n" "${_GET_PIDS_NUM}"
fi
# Make sure the server is down.
- wait_for_server_down 5 ${bin}
+ wait_for_server_down 5 "${bin}"
assert_eq 1 "${_WAIT_FOR_SERVER_DOWN}" \
"Expected wait_for_server_down return %d, returned %d"
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
-# shellcheck disable=SC2039
-# SC2039: In POSIX sh, 'local' is undefined.
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
bin_path="@abs_top_builddir@/src/bin/dhcp4"
# Import common test library.
+# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
# This test verifies that syntax checking works properly. This function
# Instruct Kea to log to the specific file.
set_logger
# Start Kea.
- start_kea ${bin_path}/${bin}
+ start_kea "${bin_path}/${bin}"
# Wait up to 20s for Kea to start.
wait_for_kea 20
if [ "${_WAIT_FOR_KEA}" -eq 0 ]; then
# Check if it is still running. It could have terminated (e.g. as a result
# of configuration failure).
- get_pid ${bin}
+ get_pid "${bin}"
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
printf "ERROR: expected one Kea process to be started. Found %d processes\
started.\n" "${_GET_PIDS_NUM}"
create_config "${CONFIG_INVALID}"
# Try to reconfigure by sending SIGHUP
- send_signal 1 ${bin}
+ send_signal 1 "${bin}"
# The configuration should fail and the error message should be there.
wait_for_message 10 "DHCP4_CONFIG_LOAD_FAIL" 1
fi
# Make sure the server is still operational.
- get_pid ${bin}
+ get_pid "${bin}"
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
printf "ERROR: Kea process was killed when attempting reconfiguration.\n"
clean_exit 1
create_config "${CONFIG}"
# Reconfigure the server with SIGHUP.
- send_signal 1 ${bin}
+ send_signal 1 "${bin}"
# There should be two occurrences of the DHCP4_CONFIG_COMPLETE messages.
# Wait for it up to 10s.
fi
# Make sure the server is still operational.
- get_pid ${bin}
+ get_pid "${bin}"
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
printf "ERROR: Kea process was killed when attempting reconfiguration.\n"
clean_exit 1
# Instruct Kea to log to the specific file.
set_logger
# Start Kea.
- start_kea ${bin_path}/${bin}
+ start_kea "${bin_path}/${bin}"
# Wait up to 20s for Kea to start.
wait_for_kea 20
if [ "${_WAIT_FOR_KEA}" -eq 0 ]; then
# Check if it is still running. It could have terminated (e.g. as a result
# of configuration failure).
- get_pid ${bin}
+ get_pid "${bin}"
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
printf "ERROR: expected one Kea process to be started. Found %d processes\
started.\n" "${_GET_PIDS_NUM}"
fi
# Make sure the server is down.
- wait_for_server_down 5 ${bin}
+ wait_for_server_down 5 "${bin}"
assert_eq 1 "${_WAIT_FOR_SERVER_DOWN}" \
"Expected wait_for_server_down return %d, returned %d"
# Instruct Kea to log to the specific file.
set_logger
# Start Kea.
- start_kea ${bin_path}/${bin}
+ start_kea "${bin_path}/${bin}"
# Wait up to 20s for Kea to start.
wait_for_kea 20
if [ "${_WAIT_FOR_KEA}" -eq 0 ]; then
# Check if it is still running. It could have terminated (e.g. as a result
# of configuration failure).
- get_pid ${bin}
+ get_pid "${bin}"
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
printf "ERROR: expected one Kea process to be started. Found %d processes\
started.\n" "${_GET_PIDS_NUM}"
create_config "${LFC_CONFIG}"
# Reconfigure the server with SIGHUP.
- send_signal 1 ${bin}
+ send_signal 1 "${bin}"
# There should be two occurrences of the DHCP4_CONFIG_COMPLETE messages.
# Wait for it up to 10s.
fi
# Make sure the server is still operational.
- get_pid ${bin}
+ get_pid "${bin}"
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
printf "ERROR: Kea process was killed when attempting reconfiguration.\n"
clean_exit 1
fi
# Send signal to Kea SIGTERM
- send_signal 15 ${bin}
+ send_signal 15 "${bin}"
# Wait up to 10s for the server's graceful shutdown. The graceful shut down
# should be recorded in the log file with the appropriate message.
fi
# Make sure the server is down.
- wait_for_server_down 5 ${bin}
+ wait_for_server_down 5 "${bin}"
assert_eq 1 "${_WAIT_FOR_SERVER_DOWN}" \
"Expected wait_for_server_down return %d, returned %d"
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
-# shellcheck disable=SC2039
-# SC2039: In POSIX sh, 'local' is undefined.
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
bin_path="@abs_top_builddir@/src/bin/dhcp6"
# Import common test library.
+# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
# This test verifies that syntax checking works properly. This function
# Instruct Kea to log to the specific file.
set_logger
# Start Kea.
- start_kea ${bin_path}/${bin}
+ start_kea "${bin_path}/${bin}"
# Wait up to 20s for Kea to start.
wait_for_kea 20
if [ "${_WAIT_FOR_KEA}" -eq 0 ]; then
# Check if it is still running. It could have terminated (e.g. as a result
# of configuration failure).
- get_pid ${bin}
+ get_pid "${bin}"
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
printf "ERROR: expected one Kea process to be started. Found %d processes\
started.\n" "${_GET_PIDS_NUM}"
create_config "${CONFIG_INVALID}"
# Try to reconfigure by sending SIGHUP
- send_signal 1 ${bin}
+ send_signal 1 "${bin}"
# The configuration should fail and the error message should be there.
wait_for_message 10 "DHCP6_CONFIG_LOAD_FAIL" 1
fi
# Make sure the server is still operational.
- get_pid ${bin}
+ get_pid "${bin}"
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
printf "ERROR: Kea process was killed when attempting reconfiguration.\n"
clean_exit 1
create_config "${CONFIG}"
# Reconfigure the server with SIGHUP.
- send_signal 1 ${bin}
+ send_signal 1 "${bin}"
# There should be two occurrences of the DHCP6_CONFIG_COMPLETE messages.
# Wait for it up to 10s.
fi
# Make sure the server is still operational.
- get_pid ${bin}
+ get_pid "${bin}"
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
printf "ERROR: Kea process was killed when attempting reconfiguration.\n"
clean_exit 1
# Instruct Kea to log to the specific file.
set_logger
# Start Kea.
- start_kea ${bin_path}/${bin}
+ start_kea "${bin_path}/${bin}"
# Wait up to 20s for Kea to start.
wait_for_kea 20
if [ "${_WAIT_FOR_KEA}" -eq 0 ]; then
# Check if it is still running. It could have terminated (e.g. as a result
# of configuration failure).
- get_pid ${bin}
+ get_pid "${bin}"
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
printf "ERROR: expected one Kea process to be started. Found %d processes\
started.\n" "${_GET_PIDS_NUM}"
fi
# Make sure the server is down.
- wait_for_server_down 5 ${bin}
+ wait_for_server_down 5 "${bin}"
assert_eq 1 "${_WAIT_FOR_SERVER_DOWN}" \
"Expected wait_for_server_down return %d, returned %d"
# Instruct Kea to log to the specific file.
set_logger
# Start Kea.
- start_kea ${bin_path}/${bin}
+ start_kea "${bin_path}/${bin}"
# Wait up to 20s for Kea to start.
wait_for_kea 20
if [ "${_WAIT_FOR_KEA}" -eq 0 ]; then
# Check if it is still running. It could have terminated (e.g. as a result
# of configuration failure).
- get_pid ${bin}
+ get_pid "${bin}"
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
printf "ERROR: expected one Kea process to be started. Found %d processes\
started.\n" "${_GET_PIDS_NUM}"
create_config "${LFC_CONFIG}"
# Reconfigure the server with SIGHUP.
- send_signal 1 ${bin}
+ send_signal 1 "${bin}"
# There should be two occurrences of the DHCP4_CONFIG_COMPLETE messages.
# Wait for it up to 10s.
fi
# Make sure the server is still operational.
- get_pid ${bin}
+ get_pid "${bin}"
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
printf "ERROR: Kea process was killed when attempting reconfiguration.\n"
clean_exit 1
fi
# Send signal to Kea SIGTERM
- send_signal 15 ${bin}
+ send_signal 15 "${bin}"
# Wait up to 10s for the server's graceful shutdown. The graceful shut down
# should be recorded in the log file with the appropriate message.
fi
# Make sure the server is down.
- wait_for_server_down 5 ${bin}
+ wait_for_server_down 5 "${bin}"
assert_eq 1 "${_WAIT_FOR_SERVER_DOWN}" \
"Expected wait_for_server_down return %d, returned %d"
# shellcheck disable=SC2034
# SC2034: ... appears unused. Verify use (or export if used externally).
-# shellcheck disable=SC2039
-# SC2039: In POSIX sh, 'local' is undefined.
-
# shellcheck disable=SC2154
# SC2154: ... is referenced but not assigned.
# Reason: some variables are taken from keactrl.conf
fi
# Include the configuration file.
-# Shellcheck complaints about not being to follow the source. Let's ingore it.
-# shellcheck disable=SC1090
+# shellcheck source=src/bin/keactrl/keactrl.conf.in
. "${keactrl_conf}"
# Get location of the DHCPv4 server binary.
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# run_command would be used.
# Include common test library.
+# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
# Set location of the keactrl.
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
-# shellcheck disable=SC2039
-# SC2039: In POSIX sh, 'local' is undefined.
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
bin_path="@abs_top_builddir@/src/bin/netconf"
# Import common test library.
+# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
# This test verifies that help can be printed out.
# Instruct Netconf Agent to log to the specific file.
set_logger
# Start Netconf Agent.
- start_kea ${bin_path}/${bin}
+ start_kea "${bin_path}/${bin}"
# Wait up to 20s for Netconf Agent to start.
wait_for_kea 20
if [ "${_WAIT_FOR_KEA}" -eq 0 ]; then
# Check if it is still running. It could have terminated (e.g. as a result
# of configuration failure).
- get_pid ${bin}
+ get_pid "${bin}"
if [ "${_GET_PIDS_NUM}" -ne 1 ]; then
printf "ERROR: expected one Netconf Agent process to be started. Found %d processes\
started.\n" "${_GET_PIDS_NUM}"
fi
# Make sure the server is down.
- wait_for_server_down 5 ${bin}
+ wait_for_server_down 5 "${bin}"
assert_eq 1 "${_WAIT_FOR_SERVER_DOWN}" \
"Expected wait_for_server_down return %d, returned %d"
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
tmpfile_path="@abs_top_builddir@/src/bin/shell/tests"
# Import common test library.
+# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
run_kea_shell() {
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
tmpfile_path="@abs_top_builddir@/src/bin/shell/tests"
# Import common test library.
+# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
# This test verifies that Control Agent is shut down gracefully when it
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
-# shellcheck disable=SC2039
-# SC2039: In POSIX sh, 'local' is undefined.
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include common test library.
+# shellcheck source=src/lib/testutils/dhcp_test_lib.sh.in
. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
# Path to the temporary configuration file.
tmpfile_path="@abs_top_builddir@/src/bin/agent/tests"
-# Import common test library.
-. "@abs_top_builddir@/src/lib/testutils/dhcp_test_lib.sh"
-
list_commands_test() {
local test_name="${1}"
local config="${2}"
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# shellcheck disable=SC2034
# SC2034: ... appears unused. Verify use (or export if used externally).
-# shellcheck disable=SC2039
-# SC2039: In POSIX sh, 'local' is undefined.
-
# shellcheck disable=SC2153
# SC2153: Possible misspelling: ... may not be assigned, but ... is.
# shellcheck disable=SC2154
# SC2154: bin_path is referenced but not assigned.
-# shellcheck disable=SC3043
-# SC3043: In POSIX sh, 'local' is undefined.
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include XML reporting library.
+# shellcheck source=src/lib/testutils/xml_reporting_test_lib.sh.in
. "@abs_top_builddir@/src/lib/testutils/xml_reporting_test_lib.sh"
prefix="@prefix@"
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC2039
-# SC2039: In POSIX sh, 'local' is undefined.
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
-# shellcheck disable=SC2039
-# SC2039: In POSIX sh, 'local' is undefined.
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# including leases, reservations, etc... Use at your own peril.
# Reference tables will be left in-tact.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# including leases, reservations, etc... Use at your own peril.
# Reference tables will be left in-tact.
-# shellcheck disable=SC1091
-# SC1091: Not following: ... was not specified as input (see shellcheck -x).
-
# Exit with error if commands exit with non-zero and if undefined variables are
# used.
set -eu
# Include utilities. Use installed version if available and
# use build version if it isn't.
if test -f "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"; then
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@datarootdir@/@PACKAGE_NAME@/scripts/admin-utils.sh"
else
+ # shellcheck source=./src/bin/admin/admin-utils.sh.in
. "@abs_top_builddir@/src/bin/admin/admin-utils.sh"
fi
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# shellcheck disable=SC2039
-# SC2039: In POSIX sh, 'local' is undefined.
-
# Usage:
#
# check-for-duplicate-includes.sh [-d|--debug] [-h|--help]
# parser files are included with the source files, the built sources are only
# created when building or some of them included in the Kea installation.
-# shellcheck disable=SC2039
-# SC2039: In POSIX sh, 'local' is undefined.
-
# shellcheck disable=SC2013
# SC2013: To read lines rather than words, pipe/redirect to a 'while read' loop.
# reason: `while read` reads lines, we need to read words