]> git.proxmox.com Git - qemu-server.git/commitdiff
config2command test: mock kvm_version too
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 20 Dec 2018 09:27:21 +0000 (10:27 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 20 Dec 2018 09:27:21 +0000 (10:27 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
test/run_config2command_tests.pl

index 160f872f53772acfccefc35469ae080c9ddbfd2e..6ba702155c1c325ec8f2e5f8a517d622d5d004a1 100755 (executable)
@@ -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';
     },