From 66c539947a921071709a106fd02d4cf121f7fe2a Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 20 Dec 2018 10:27:21 +0100 Subject: [PATCH] config2command test: mock kvm_version too Signed-off-by: Thomas Lamprecht --- test/run_config2command_tests.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/run_config2command_tests.pl b/test/run_config2command_tests.pl index 160f872f..6ba70215 100755 --- a/test/run_config2command_tests.pl +++ b/test/run_config2command_tests.pl @@ -107,6 +107,9 @@ $qemu_server_module->mock( kvm_user_version => sub { return $current_test->{qemu_version} // $base_env->{real_qemu_version}; }, + kvm_version => sub { + return $current_test->{qemu_version} // $base_env->{real_qemu_version}; + }, get_host_arch => sub() { return $current_test->{host_arch} // 'x86_64'; },