Revert "remove the check for qemu-kvm"

Partially reverts commit 303a69bcbd.
This commit is contained in:
Alexander Todorov 2019-05-24 14:06:44 +03:00 committed by Alexander Todorov
parent 22b0eb28bc
commit 688f70eefa
2 changed files with 12 additions and 2 deletions

View File

@ -13,9 +13,14 @@ set -e
. $(dirname $0)/lib/lib.sh
CLI="${CLI:-./src/bin/composer-cli}"
QEMU="qemu-system-$(uname -m) -machine accel=kvm:tcg"
QEMU_BIN="/usr/bin/qemu-system-$(uname -m)"
QEMU="$QEMU_BIN -machine accel=kvm:tcg"
rlJournalStart
rlPhaseStartSetup
rlAssertExists $QEMU_BIN
rlPhaseEnd
rlPhaseStartTest "compose start"
rlAssertEquals "SELinux operates in enforcing mode" "$(getenforce)" "Enforcing"

View File

@ -13,9 +13,14 @@ set -e
. $(dirname $0)/lib/lib.sh
CLI="${CLI:-./src/bin/composer-cli}"
QEMU="qemu-system-$(uname -m) -machine accel=kvm:tcg"
QEMU_BIN="/usr/bin/qemu-system-$(uname -m)"
QEMU="$QEMU_BIN -machine accel=kvm:tcg"
rlJournalStart
rlPhaseStartSetup
rlAssertExists $QEMU_BIN
rlPhaseEnd
rlPhaseStartTest "compose start"
rlAssertEquals "SELinux operates in enforcing mode" "$(getenforce)" "Enforcing"