From 29531d373eb02f73f7d5e6519d4bfeb58947802a Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Fri, 5 Jul 2019 19:00:55 +0300 Subject: [PATCH] Install or remove packages in the test environment which are needed for running the tests or prevent some test tools from installing Related: rhbz#1698366 --- test/vm.install | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/test/vm.install b/test/vm.install index b9c3188a..28f79a62 100755 --- a/test/vm.install +++ b/test/vm.install @@ -29,6 +29,22 @@ if ! rpm -q beakerlib; then fi fi +if rpm -q python2-cryptography; then + yum remove -y python2-cryptography +fi + +if rpm -q pyparsing; then + yum remove -y pyparsing +fi + +if ! rpm -q git; then + yum install -y git +fi + +if ! rpm -q qemu-system-x86; then + yum install -y qemu-system-x86 +fi + # Grow root partition to make room for images. This only works on Fedora right now. parted --script /dev/vda resizepart 2 100% partprobe