Revert "remove the check for qemu-kvm"
Partially reverts commit 303a69bcbd
.
This commit is contained in:
parent
22b0eb28bc
commit
688f70eefa
@ -13,9 +13,14 @@ set -e
|
|||||||
. $(dirname $0)/lib/lib.sh
|
. $(dirname $0)/lib/lib.sh
|
||||||
|
|
||||||
CLI="${CLI:-./src/bin/composer-cli}"
|
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
|
rlJournalStart
|
||||||
|
rlPhaseStartSetup
|
||||||
|
rlAssertExists $QEMU_BIN
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
rlPhaseStartTest "compose start"
|
rlPhaseStartTest "compose start"
|
||||||
rlAssertEquals "SELinux operates in enforcing mode" "$(getenforce)" "Enforcing"
|
rlAssertEquals "SELinux operates in enforcing mode" "$(getenforce)" "Enforcing"
|
||||||
|
|
||||||
|
@ -13,9 +13,14 @@ set -e
|
|||||||
. $(dirname $0)/lib/lib.sh
|
. $(dirname $0)/lib/lib.sh
|
||||||
|
|
||||||
CLI="${CLI:-./src/bin/composer-cli}"
|
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
|
rlJournalStart
|
||||||
|
rlPhaseStartSetup
|
||||||
|
rlAssertExists $QEMU_BIN
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
rlPhaseStartTest "compose start"
|
rlPhaseStartTest "compose start"
|
||||||
rlAssertEquals "SELinux operates in enforcing mode" "$(getenforce)" "Enforcing"
|
rlAssertEquals "SELinux operates in enforcing mode" "$(getenforce)" "Enforcing"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user