tests: Don't depend on kvm for tar and qcow2 tests
Some test runners don't have nested virtualization enabled. Because these checks are only checking that a boot works, kvm doesn't give us that much. Disable for now. Also remove the check for qemu-kvm. It doesn't abort the test prematurely anyway.
This commit is contained in:
parent
77acc8972b
commit
303a69bcbd
@ -11,13 +11,9 @@
|
|||||||
. ./tests/cli/lib/lib.sh
|
. ./tests/cli/lib/lib.sh
|
||||||
|
|
||||||
CLI="${CLI:-./src/bin/composer-cli}"
|
CLI="${CLI:-./src/bin/composer-cli}"
|
||||||
QEMU="/usr/bin/qemu-kvm"
|
QEMU="/usr/bin/qemu-system-$(uname -m)"
|
||||||
|
|
||||||
rlJournalStart
|
rlJournalStart
|
||||||
rlPhaseStartSetup
|
|
||||||
rlAssertExists $QEMU
|
|
||||||
rlPhaseEnd
|
|
||||||
|
|
||||||
rlPhaseStartTest "compose start"
|
rlPhaseStartTest "compose start"
|
||||||
rlAssertEquals "SELinux operates in enforcing mode" "$(getenforce)" "Enforcing"
|
rlAssertEquals "SELinux operates in enforcing mode" "$(getenforce)" "Enforcing"
|
||||||
|
|
||||||
|
@ -11,13 +11,9 @@
|
|||||||
. ./tests/cli/lib/lib.sh
|
. ./tests/cli/lib/lib.sh
|
||||||
|
|
||||||
CLI="${CLI:-./src/bin/composer-cli}"
|
CLI="${CLI:-./src/bin/composer-cli}"
|
||||||
QEMU="/usr/bin/qemu-kvm"
|
QEMU="/usr/bin/qemu-system-$(uname -m)"
|
||||||
|
|
||||||
rlJournalStart
|
rlJournalStart
|
||||||
rlPhaseStartSetup
|
|
||||||
rlAssertExists $QEMU
|
|
||||||
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