* 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
8 lines
226 B
Bash
Executable File
8 lines
226 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
# should take slightly more than 25s, but fail if we take 35s)
|
|
$timeout --kill-after=35s 30s ./mgmt run --yaml t4.yaml --converged-timeout=5 --no-watch --tmp-prefix &
|
|
pid=$!
|
|
wait $pid # get exit status
|
|
exit $?
|