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-05-28 14:10:02 +00:00
|
|
|
source "$functionalTestsDir/common/vars-and-functions.sh"
|
|
|
|
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
|