aboutsummaryrefslogtreecommitdiff
path: root/tests/common.sh
blob: 68b90a85f67abaf91c0cdd842b576d5bbce82525 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
set -e

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