SIGN IN SIGN UP

test(mdm): wait for the old daemon to exit and cover unusual binary paths

bg shutdown returns before the previous daemon releases its lock, so the
drivers now wait for the process to be gone before registering the login
start (the cause of a macOS flake). The lifecycle scenario also re-registers
with --bin pointing at a copy of the binary in a directory containing spaces,
quotes, parentheses, a percent sign, and non-ASCII, and asserts the daemon
runs from there.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
S
Sasha Varlamov committed
c8cee8e37cc20e3315a82d30c91e8b5d6abccc23
Parent: 805bdda