From ea2666c103f5c2c66ef6ce55ad2a6efb43ad84ec Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Tue, 9 Jul 2024 12:27:42 -0400 Subject: [PATCH] test/main: start/stop external auth daemon Signed-off-by: Simon Deziel --- test/main.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/main.sh b/test/main.sh index 6baa64c260f0..294b48691cee 100755 --- a/test/main.sh +++ b/test/main.sh @@ -100,6 +100,7 @@ cleanup() { echo "==> Cleaning up" umount -l "${TEST_DIR}/dev" + kill_external_auth_daemon "$TEST_DIR" cleanup_lxds "$TEST_DIR" fi @@ -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