virt-top/tests/basic-test.sh
Richard W.M. Jones 46e7e79a0f Try starting libvirtd
related: rhbz#1682780

(cherry picked from commit 5e64d51c94eb985be4aabf14d32f6738192cfd42)
2020-04-09 10:37:35 +01:00

12 lines
277 B
Bash
Executable File

#!/bin/bash -
set -e
set -x
# We need to start libvirtd, see:
# https://bugzilla.redhat.com/show_bug.cgi?id=1682780#c8
systemctl start libvirtd ||:
# I'd like to use the test:/// driver but it doesn't support the right
# APIs.
virt-top --stream -d 1 -n 3 --debug /dev/stdout