aboutsummaryrefslogtreecommitdiff
path: root/tests/common.sh
blob: 7b0922c9f3209a2532cd7ba19b26c84bdfd36b4a (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]-$0}")")/common/vars-and-functions.sh"
if [[ -n "${NIX_DAEMON_PACKAGE:-}" ]]; then
    startDaemon
fi

fi # COMMON_SH_SOURCED