* Check and install libvirt with Homebrew macOS does not have apt, dnf or yum. Add checking for homebrew for installing libvirt. * Use platform timeout for tests * Add timeout detection to test/util.sh * Use $timeout for shell test requiring timeout
This allows you to specify a custom prefix, or a tmp prefix which is chosen automatically.
This will avoid failures if /var/lib/mgmt/ isn't writable.
Credit to jerith for helping me hack this together :)