aboutsummaryrefslogtreecommitdiff
path: root/tests/common.sh
blob: 8941671d67d9a76a166e4f7b70fbf948768f99b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
set -eu -o pipefail

if [[ -z "${COMMON_SH_SOURCED-}" ]]; then

COMMON_SH_SOURCED=1

source "$(readlink -f "$(dirname "${BASH_SOURCE[0]}")")/common/vars-and-functions.sh"
if [[ -n "${NIX_DAEMON_PACKAGE:-}" ]]; then
    startDaemon
fi

fi # COMMON_SH_SOURCED