projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd15f7f
)
test: make the virt detection quiet
author
Frantisek Sumsal
<frantisek@sumsal.cz>
Fri, 26 Aug 2022 17:18:20 +0000
(19:18 +0200)
committer
Frantisek Sumsal
<frantisek@sumsal.cz>
Fri, 26 Aug 2022 17:18:20 +0000
(19:18 +0200)
Follow-up to
cde09b07dfdc132a31672693c037bfc0b5879331
.
test/test-functions
patch
|
blob
|
history
diff --git
a/test/test-functions
b/test/test-functions
index 473587fe9f7d64737b22a4eecaec818cfd534c85..c8b0cef1f23e66446b77e88d9d6e02200cdb16c2 100644
(file)
--- a/
test/test-functions
+++ b/
test/test-functions
@@
-92,7
+92,7
@@
add_at_exit_handler() {
# check if it's not explicitly disabled (TEST_NO_KVM) and we're not already
# running under KVM. If these conditions are met, enable KVM (and possibly
# nested KVM), otherwise disable it.
-if get_bool "${TEST_NESTED_KVM:=}" || (! get_bool "${TEST_NO_KVM:=}" && ! systemd-detect-virt -v); then
+if get_bool "${TEST_NESTED_KVM:=}" || (! get_bool "${TEST_NO_KVM:=}" && ! systemd-detect-virt -
q
v); then
QEMU_KVM=yes
else
QEMU_KVM=no