tests: Do not create the hosts directory ourselves

The /boot/boom/hosts is now handled by RPM as the tool requires the
presence of the directory.
This commit is contained in:
Marian Csontos 2019-05-09 12:44:08 +02:00
parent cec8bc25be
commit 884a7919c3

View File

@ -11,11 +11,9 @@
- testsuite_pre:
dir: .
# boom test suite requires LV to exist on the system. We create one in case there is not one...
# boom requires /boot/boom/hosts directory to exist on the host. Is this a bug or feature?
run: |
set -xv;
rm -rf testsuite &>/dev/null;
mkdir -p /boot/boom/hosts;
if [[ ! -b /dev/boomvg/root ]]; then dd if=/dev/zero of=/dev/shm/boompv bs=1M count=128 && PV=$(losetup --show -f /dev/shm/boompv) && vgcreate boomvg $PV && lvcreate -n root -L32M boomvg; fi
- testsuite:
# to run the testsuite against installed python modules, we should run