virt-v2v/tests/basic-test.sh
Laszlo Ersek ac1270e705 make the appliance kernel uniprocessor in %check / gating...
... for working around RHBZ#2216496.

(This change is unrelated to RHBZ#2182024, highlighted below.)

resolves: rhbz#2182024
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2023-07-03 15:59:29 +02:00

21 lines
724 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.
# The various services exposed by the modular libvirt daemons are not
# immediately available / running after installing their packages (via the
# "libvirt-daemon-kvm" metapackage); we need to start them manually. The
# simplest command for starting them all is the one below, from
# <https://lists.corp.redhat.com/archives/osci-list/2023-June/001238.html>.
systemctl isolate multi-user.target
# Work around RHBZ#2216496.
export LIBGUESTFS_APPEND=nosmp
virt-builder -vx fedora-30
virt-v2v -vx -i disk fedora-30.img -o null