virt-top/tests/basic-test.sh
Troy Dawson ec0fe3170e RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/virt-top#fde280018e8d2c0651ae669967f07689aaa7020a
2020-10-20 08:27:22 -07: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