virt-v2v/tests/basic-test.sh
Richard W.M. Jones b004c17388 tests: Try harder to fix libvirt
Tests failed previously with:
libvirt: XML-RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
2021-06-11 18:43:04 +01:00

14 lines
304 B
Bash
Executable File

#!/bin/bash -
set -e
set -x
# This only makes sure that virt-v2v isn't totally broken.
# virt-v2v is extensively tested on real guests by the QE
# team using a mix of automated and manual testing.
# Fix libvirt.
systemctl restart libvirtd
virt-builder fedora-30
virt-v2v -i disk fedora-30.img -o null