Skip to content

Commit

Permalink
test/main: start/stop external auth daemon
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Jul 9, 2024
1 parent 455fa3d commit ea2666c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ cleanup() {
echo "==> Cleaning up"

umount -l "${TEST_DIR}/dev"
kill_external_auth_daemon "$TEST_DIR"
cleanup_lxds "$TEST_DIR"
fi

Expand Down Expand Up @@ -144,6 +145,8 @@ spawn_lxd "${LXD_DIR}" true
LXD_ADDR=$(cat "${LXD_DIR}/lxd.addr")
export LXD_ADDR

start_external_auth_daemon "${LXD_DIR}"

LXD_SKIP_TESTS="${LXD_SKIP_TESTS:-}"
export LXD_SKIP_TESTS

Expand Down

0 comments on commit ea2666c

Please sign in to comment.