config2command test: mock kvm_version too

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2018-12-20 10:27:21 +01:00
parent b74f5794d3
commit 66c539947a

View File

@ -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';
},