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