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