2024-05-28 14:10:02 +00:00
|
|
|
# shellcheck shell=bash
|
|
|
|
|
2021-12-09 15:26:46 +00:00
|
|
|
set -eu -o pipefail
|
2021-12-09 15:16:18 +00:00
|
|
|
|
|
|
|
if [[ -z "${COMMON_SH_SOURCED-}" ]]; then
|
|
|
|
|
|
|
|
COMMON_SH_SOURCED=1
|
|
|
|
|
2024-05-28 14:10:02 +00:00
|
|
|
functionalTestsDir="$(readlink -f "$(dirname "${BASH_SOURCE[0]-$0}")")"
|
2024-05-06 13:42:49 +00:00
|
|
|
|
2024-07-08 20:07:06 +00:00
|
|
|
source "$functionalTestsDir/common/vars.sh"
|
|
|
|
source "$functionalTestsDir/common/functions.sh"
|
2024-05-28 14:10:02 +00:00
|
|
|
source "$functionalTestsDir/common/init.sh"
|
2024-05-06 13:42:49 +00:00
|
|
|
|
2021-12-09 15:16:18 +00:00
|
|
|
if [[ -n "${NIX_DAEMON_PACKAGE:-}" ]]; then
|
|
|
|
startDaemon
|
|
|
|
fi
|
|
|
|
|
|
|
|
fi # COMMON_SH_SOURCED
|