From: Frantisek Sumsal Date: Fri, 26 Aug 2022 17:18:20 +0000 (+0200) Subject: test: make the virt detection quiet X-Git-Tag: v252-rc1~324^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F24463%2Fhead;p=thirdparty%2Fsystemd.git test: make the virt detection quiet Follow-up to cde09b07dfdc132a31672693c037bfc0b5879331. --- diff --git a/test/test-functions b/test/test-functions index 473587fe9f7..c8b0cef1f23 100644 --- 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 -qv); then QEMU_KVM=yes else QEMU_KVM=no